summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9e39532)
raw | patch | inline | side by side (parent: 9e39532)
author | joncruz <joncruz@users.sourceforge.net> | |
Sat, 5 Jul 2008 02:54:00 +0000 (02:54 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Sat, 5 Jul 2008 02:54:00 +0000 (02:54 +0000) |
src/sp-shape.cpp | patch | blob | history | |
src/widgets/toolbox.cpp | patch | blob | history |
diff --git a/src/sp-shape.cpp b/src/sp-shape.cpp
index 54f674f6bb05ab9650e6cff78bac4b27b2494b82..5fee7cc4855f21ec8633227c22c22ec85cf607df 100644 (file)
--- a/src/sp-shape.cpp
+++ b/src/sp-shape.cpp
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;
index 148694ef98f6f77997a93dcaeb98323364bc815f..bf0b9f553d575a880bfcb79e459a904cca49222f 100644 (file)
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
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);
}
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);