Code

Fix for if LCMS is disabled. (LP# 174854)
[inkscape.git] / src / widgets / spinbutton-events.cpp
index 893a7a7e006751e59fbe75c60573a35e7ab86445..14ac51422fff7f7aa9e8e3de9fad0be2853fa7f4 100644 (file)
@@ -22,7 +22,7 @@
 #include "widget-sizes.h"
 
 
-bool
+gboolean
 spinbutton_focus_in (GtkWidget *w, GdkEventKey *event, gpointer data)
 {
        gdouble *ini;
@@ -51,7 +51,7 @@ void
 spinbutton_defocus (GtkObject *container)
 {
        // defocus spinbuttons by moving focus to the canvas, unless "stay" is on
-       bool stay = GPOINTER_TO_INT(gtk_object_get_data (GTK_OBJECT (container), "stay"));
+       gboolean stay = GPOINTER_TO_INT(gtk_object_get_data (GTK_OBJECT (container), "stay"));
        if (stay) {
                gtk_object_set_data (GTK_OBJECT (container), "stay", GINT_TO_POINTER (FALSE));
        } else {
@@ -62,7 +62,7 @@ spinbutton_defocus (GtkObject *container)
        }
 }
 
-bool
+gboolean
 spinbutton_keypress (GtkWidget *w, GdkEventKey *event, gpointer data)
 {
        SPWidget *spw = (SPWidget *) data;