Code

Rename LPE: mirror reflect --> mirror symmetry
[inkscape.git] / src / widgets / dash-selector.cpp
index 78303c60b8335a4080922da8054b23002468c0fe..49bca9a98a80c3a5f5f54945631627d01904044b 100644 (file)
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 #endif
+
+#include <cstring>
+#include <string>
 #include <libnr/nr-macros.h>
 #include <gtk/gtk.h>
-
 #include <glibmm/i18n.h>
+
 #include "../style.h"
 #include "../dialogs/dialog-events.h"
 
@@ -139,7 +142,7 @@ sp_dash_selector_new (Inkscape::XML::Node *drepr)
 
                if (ndashes > 0) {
                        int pos = 0;
-                       SPStyle *style = sp_style_new ();
+                       SPStyle *style = sp_style_new (NULL);
                        dashes = g_new (double *, ndashes + 1);
                        for (Inkscape::XML::Node *dr = drepr->firstChild(); dr; dr = dr->next()) {
                                if (!strcmp (dr->name(), "dash")) {
@@ -379,7 +382,7 @@ sp_dash_selector_dash_activate (GtkObject *object, SPDashSelector *dsel)
 }
 
 static void
-sp_dash_selector_offset_value_changed (GtkAdjustment *adj, SPDashSelector *dsel)
+sp_dash_selector_offset_value_changed (GtkAdjustment */*adj*/, SPDashSelector *dsel)
 {
        gtk_signal_emit (GTK_OBJECT (dsel), signals[CHANGED]);
 }