Code

rename, rearrange stroke shapes; add elliptic
[inkscape.git] / src / widgets / spinbutton-events.cpp
index 893a7a7e006751e59fbe75c60573a35e7ab86445..4b60ce812d20ff031bcf8f8b4095fb8f99942d03 100644 (file)
@@ -22,8 +22,8 @@
 #include "widget-sizes.h"
 
 
-bool
-spinbutton_focus_in (GtkWidget *w, GdkEventKey *event, gpointer data)
+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;