diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2013-01-11 07:30:09 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2013-01-11 07:30:09 +0000 |
| commit | cfe9c94712a2ff6849b123672e51b603f20e76ae (patch) | |
| tree | d3377768830691887a801cc7b45c3e8adb0c2c55 /src/ui/dialog | |
| parent | gimpcolorwheel: Clean up drawing functions (diff) | |
| download | inkscape-cfe9c94712a2ff6849b123672e51b603f20e76ae.tar.gz inkscape-cfe9c94712a2ff6849b123672e51b603f20e76ae.zip | |
Warning and dead code cleanup.
(bzr r12014)
Diffstat (limited to 'src/ui/dialog')
| -rw-r--r-- | src/ui/dialog/filter-effects-dialog.cpp | 4 | ||||
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 2 | ||||
| -rw-r--r-- | src/ui/dialog/layers.cpp | 2 | ||||
| -rw-r--r-- | src/ui/dialog/ocaldialogs.cpp | 6 | ||||
| -rw-r--r-- | src/ui/dialog/symbols.cpp | 4 |
5 files changed, 11 insertions, 7 deletions
diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp index 0e25fece9..418132abb 100644 --- a/src/ui/dialog/filter-effects-dialog.cpp +++ b/src/ui/dialog/filter-effects-dialog.cpp @@ -1186,7 +1186,7 @@ void FilterEffectsDialog::FilterModifier::setTargetDesktop(SPDesktop *desktop) } // When the document changes, update connection to resources -void FilterEffectsDialog::FilterModifier::on_document_replaced(SPDesktop *desktop, SPDocument *document) +void FilterEffectsDialog::FilterModifier::on_document_replaced(SPDesktop * /*desktop*/, SPDocument *document) { if (_resource_changed) { _resource_changed.disconnect(); @@ -1686,7 +1686,7 @@ void FilterEffectsDialog::PrimitiveList::remove_selected() } #if !WITH_GTKMM_3_0 -bool FilterEffectsDialog::PrimitiveList::on_expose_signal(GdkEventExpose *e) +bool FilterEffectsDialog::PrimitiveList::on_expose_signal(GdkEventExpose * /*evt*/) { bool result = false; diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index 6e6473c5a..c7760c5bd 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -1527,7 +1527,7 @@ void InkscapePreferences::onKBExport() sp_shortcut_file_export(); } -bool InkscapePreferences::onKBSearchKeyEvent(GdkEventKey *event) +bool InkscapePreferences::onKBSearchKeyEvent(GdkEventKey * /*event*/) { _kb_filter->refilter(); return FALSE; diff --git a/src/ui/dialog/layers.cpp b/src/ui/dialog/layers.cpp index 4f7b8f27c..fdc33b2a6 100644 --- a/src/ui/dialog/layers.cpp +++ b/src/ui/dialog/layers.cpp @@ -655,7 +655,7 @@ bool LayersPanel::_handleButtonEvent(GdkEventButton* event) * Drap and drop within the tree * Save the drag source and drop target SPObjects and if its a drag between layers or into (sublayer) a layer */ -bool LayersPanel::_handleDragDrop(const Glib::RefPtr<Gdk::DragContext>& context, int x, int y, guint time) +bool LayersPanel::_handleDragDrop(const Glib::RefPtr<Gdk::DragContext>& /*context*/, int x, int y, guint /*time*/) { int cell_x = 0, cell_y = 0; Gtk::TreeModel::Path target_path; diff --git a/src/ui/dialog/ocaldialogs.cpp b/src/ui/dialog/ocaldialogs.cpp index 75c766566..09ce59e9c 100644 --- a/src/ui/dialog/ocaldialogs.cpp +++ b/src/ui/dialog/ocaldialogs.cpp @@ -324,7 +324,11 @@ bool LoadingBox::_on_expose_event(GdkEventExpose* /*event*/) } #endif -bool LoadingBox::_on_draw(const Cairo::RefPtr<Cairo::Context>& cr) +bool LoadingBox::_on_draw(const Cairo::RefPtr<Cairo::Context> & +#if WITH_GTKMM_3_0 +cr +#endif +) { // Draw shadow int x = get_allocation().get_x(); diff --git a/src/ui/dialog/symbols.cpp b/src/ui/dialog/symbols.cpp index 3188f1681..71674368b 100644 --- a/src/ui/dialog/symbols.cpp +++ b/src/ui/dialog/symbols.cpp @@ -231,8 +231,8 @@ void SymbolsDialog::rebuild() { draw_symbols( symbolDocument ); } -void SymbolsDialog::iconDragDataGet(const Glib::RefPtr<Gdk::DragContext>& context, Gtk::SelectionData& data, guint info, guint time) { - +void SymbolsDialog::iconDragDataGet(const Glib::RefPtr<Gdk::DragContext>& /*context*/, Gtk::SelectionData& data, guint /*info*/, guint /*time*/) +{ #if WITH_GTKMM_3_0 std::vector<Gtk::TreePath> iconArray = iconView->get_selected_items(); #else |
