Code

Disable the page selector when there's only one page
[inkscape.git] / src / widgets / sp-color-selector.h
index 5739f7f15d55de24b6ecf5ff7987dfacaa1e4e22..b2fd62b1e336bf02c544285e7dd953599a8e17ca 100644 (file)
@@ -32,13 +32,13 @@ public:
     virtual guint getSubmode() const;
 
     virtual SPColorSpaceType getColorspace() const;
-    virtual bool setColorspace( SPColorSpaceType colorspace );
+    virtual gboolean setColorspace( SPColorSpaceType colorspace );
 
 protected:
     void _grabbed();
     void _released();
-    void _updateInternals( const SPColor& color, gfloat alpha, bool held );
-    bool _isHeld() const { return _held; }
+    void _updateInternals( const SPColor& color, gfloat alpha, gboolean held );
+    gboolean _isHeld() const { return _held; }
 
     virtual void _colorChanged( const SPColor& color, gfloat alpha );
 
@@ -53,7 +53,7 @@ private:
     ColorSelector( const ColorSelector& obj );
     ColorSelector& operator=( const ColorSelector& obj );
 
-    bool _held;
+    gboolean _held;
 
     bool virgin; // if true, no color is set yet
 };