Code

Extensions. Barcode extension refactoring (see https://code.launchpad.net/~doctormo...
[inkscape.git] / src / sp-gradient.h
index f1705f1c1a07055efd7e3ab54d84c7e5293c31c2..fbcc4934ec0f0872a1afc47e4d318985ca395dd9 100644 (file)
@@ -18,6 +18,7 @@
  */
 
 #include <gdk/gdktypes.h>
+#include <glibmm/ustring.h>
 #include "libnr/nr-matrix.h"
 #include "sp-paint-server.h"
 #include "sp-gradient-spread.h"
@@ -142,7 +143,7 @@ public:
     SPGradientSpread fetchSpread();
     SPGradientUnits fetchUnits();
 
-    void setSwatch();
+    void setSwatch(bool swatch = true);
 
 private:
     bool invalidateVector();
@@ -174,4 +175,4 @@ struct SPGradientClass {
   fill-column:99
   End:
 */
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :