diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2008-07-05 02:54:00 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2008-07-05 02:54:00 +0000 |
| commit | 5154ba5991bb477bb68a7831250bd15b65f650ac (patch) | |
| tree | 1ddba90992eaed07313cb19594bac3128325f7d0 /src | |
| parent | another fix for parallel knotholder and nodepath (diff) | |
| download | inkscape-5154ba5991bb477bb68a7831250bd15b65f650ac.tar.gz inkscape-5154ba5991bb477bb68a7831250bd15b65f650ac.zip | |
Warning cleanup
(bzr r6163)
Diffstat (limited to 'src')
| -rw-r--r-- | src/sp-shape.cpp | 1 | ||||
| -rw-r--r-- | src/widgets/toolbox.cpp | 14 |
2 files changed, 8 insertions, 7 deletions
diff --git a/src/sp-shape.cpp b/src/sp-shape.cpp index 54f674f6b..5fee7cc48 100644 --- a/src/sp-shape.cpp +++ b/src/sp-shape.cpp @@ -1060,6 +1060,7 @@ sp_shape_has_markers (SPShape const *shape) int sp_shape_number_of_markers (SPShape *shape, int type) { +// TODO fixme: this looks very bad that the type parameter is ignored. Geom::PathVector const & pathv = shape->curve->get_pathvector(); guint n = shape->marker[SP_MARKER_LOC_START] ? pathv.size() : 0; diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 148694ef9..bf0b9f553 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -1597,7 +1597,7 @@ setup_tool_toolbox(GtkWidget *toolbox, SPDesktop *desktop) static void -update_tool_toolbox( SPDesktop *desktop, SPEventContext *eventcontext, GtkWidget *toolbox ) +update_tool_toolbox( SPDesktop *desktop, SPEventContext *eventcontext, GtkWidget */*toolbox*/ ) { gchar const *const tname = ( eventcontext ? gtk_type_name(GTK_OBJECT_TYPE(eventcontext)) @@ -3329,7 +3329,7 @@ static void sp_add_spiro_toggle(GtkActionGroup* mainActions, GObject* holder, bo } } -static void sp_freehand_change_shape(EgeSelectOneAction* act, GObject *dataKludge) { +static void sp_freehand_change_shape(EgeSelectOneAction* act, GObject */*dataKludge*/) { gint shape = ege_select_one_action_get_active( act ); prefs_set_int_attribute("tools.freehand", "shape", shape); } @@ -3420,11 +3420,11 @@ sp_pencil_tb_tolerance_value_changed(GtkAdjustment *adj, GObject *tbl) static void -sp_pencil_tb_tolerance_value_changed_external(Inkscape::XML::Node *repr, - const gchar *key, - const gchar *oldval, - const gchar *newval, - bool is_interactive, +sp_pencil_tb_tolerance_value_changed_external(Inkscape::XML::Node */*repr*/, + const gchar */*key*/, + const gchar */*oldval*/, + const gchar */*newval*/, + bool /*is_interactive*/, void * data) { GObject* tbl = G_OBJECT(data); |
