diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2012-05-25 03:32:43 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2012-05-25 03:32:43 +0000 |
| commit | dd641edf29e17371aabebdcb87e52d5c2b8091c7 (patch) | |
| tree | 7ea5ea0933e146d03a659d1e3c593d43847b4930 /src/widgets | |
| parent | Don't use extension events API in GTK+3 builds (diff) | |
| download | inkscape-dd641edf29e17371aabebdcb87e52d5c2b8091c7.tar.gz inkscape-dd641edf29e17371aabebdcb87e52d5c2b8091c7.zip | |
Fixing warnings.
(bzr r11414)
Diffstat (limited to 'src/widgets')
| -rw-r--r-- | src/widgets/mesh-toolbar.cpp | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/src/widgets/mesh-toolbar.cpp b/src/widgets/mesh-toolbar.cpp index 7c37d757c..066e2a02a 100644 --- a/src/widgets/mesh-toolbar.cpp +++ b/src/widgets/mesh-toolbar.cpp @@ -76,7 +76,7 @@ static gboolean blocked = FALSE; /* * Core function, setup all the widgets whenever something changes on the desktop */ -static void ms_tb_selection_changed(Inkscape::Selection * /*selection*/, gpointer data) +static void ms_tb_selection_changed(Inkscape::Selection * /*selection*/, gpointer /*data*/) { // DOES NOTHING AT MOMENT @@ -116,9 +116,9 @@ static void ms_drag_selection_changed(gpointer /*dragger*/, gpointer data) } -static void ms_defs_release(SPObject * defs, GtkWidget *widget) +static void ms_defs_release(SPObject * /*defs*/, GtkWidget *widget) { - ms_tb_selection_changed(NULL, (gpointer) widget); + ms_tb_selection_changed(NULL, widget); } static void ms_defs_modified(SPObject * /*defs*/, guint /*flags*/, GtkWidget *widget) @@ -150,8 +150,8 @@ static void ms_new_fillstroke_changed( EgeSelectOneAction *act, GObject * /*tbl* prefs->setInt("/tools/gradient/newfillorstroke", (fsmode == Inkscape::FOR_FILL) ? 1 : 0); } -static void ms_row_changed (GtkAdjustment *adj, GObject *tbl ) { - +static void ms_row_changed(GtkAdjustment *adj, GObject * /*tbl*/ ) +{ if (blocked) { return; } @@ -167,8 +167,8 @@ static void ms_row_changed (GtkAdjustment *adj, GObject *tbl ) { blocked = FALSE; } -static void ms_col_changed (GtkAdjustment *adj, GObject *tbl ) { - +static void ms_col_changed(GtkAdjustment *adj, GObject * /*tbl*/ ) +{ if (blocked) { return; } @@ -184,13 +184,6 @@ static void ms_col_changed (GtkAdjustment *adj, GObject *tbl ) { blocked = FALSE; } -static void ms_edit_fillstroke_changed( EgeSelectOneAction *act, GObject * /*tbl*/ ) -{ - Inkscape::Preferences *prefs = Inkscape::Preferences::get(); - Inkscape::PaintTarget fsmode = (ege_select_one_action_get_active( act ) == 0) ? Inkscape::FOR_FILL : Inkscape::FOR_STROKE; - prefs->setInt("/tools/gradient/editfillorstroke", (fsmode == Inkscape::FOR_FILL) ? 1 : 0); -} - /** * Mesh auxiliary toolbar construction and setup. * |
