Code

Refactoring SPColor to C++ and removing legacy CMYK implementation
[inkscape.git] / src / seltrans-handles.h
index 8e3851f2e5034c386bd7e3c983eebdecd8bfb05f..0afa552ea0183b45398970566c59d3b42a13fa82 100644 (file)
@@ -22,15 +22,15 @@ namespace Inkscape
 class SPSelTransHandle;
 
 // request handlers
-bool sp_sel_trans_scale_request(Inkscape::SelTrans *seltrans,
+gboolean sp_sel_trans_scale_request(Inkscape::SelTrans *seltrans,
                                    SPSelTransHandle const &handle, NR::Point &p, guint state);
-bool sp_sel_trans_stretch_request(Inkscape::SelTrans *seltrans,
+gboolean sp_sel_trans_stretch_request(Inkscape::SelTrans *seltrans,
                                      SPSelTransHandle const &handle, NR::Point &p, guint state);
-bool sp_sel_trans_skew_request(Inkscape::SelTrans *seltrans,
+gboolean sp_sel_trans_skew_request(Inkscape::SelTrans *seltrans,
                                   SPSelTransHandle const &handle, NR::Point &p, guint state);
-bool sp_sel_trans_rotate_request(Inkscape::SelTrans *seltrans,
+gboolean sp_sel_trans_rotate_request(Inkscape::SelTrans *seltrans,
                                     SPSelTransHandle const &handle, NR::Point &p, guint state);
-bool sp_sel_trans_center_request(Inkscape::SelTrans *seltrans,
+gboolean sp_sel_trans_center_request(Inkscape::SelTrans *seltrans,
                                     SPSelTransHandle const &handle, NR::Point &p, guint state);
 
 // action handlers
@@ -45,7 +45,7 @@ struct SPSelTransHandle {
        GdkCursorType cursor;
        guint control;
        void (* action) (Inkscape::SelTrans *seltrans, SPSelTransHandle const &handle, NR::Point &p, guint state);
-       bool (* request) (Inkscape::SelTrans *seltrans, SPSelTransHandle const &handle, NR::Point &p, guint state);
+       gboolean (* request) (Inkscape::SelTrans *seltrans, SPSelTransHandle const &handle, NR::Point &p, guint state);
        gdouble x, y;
 };