From 5d6f51f32ca2356b0d6155015457a83e60b314e8 Mon Sep 17 00:00:00 2001 From: Jon Phillips Date: Fri, 25 Aug 2006 07:03:19 +0000 Subject: peeled back the gboolean code as it hit on some complexity theory principles... need to rethink and incrementally change gbooleans to bools (bzr r1637) --- src/widgets/spinbutton-events.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/widgets/spinbutton-events.cpp') diff --git a/src/widgets/spinbutton-events.cpp b/src/widgets/spinbutton-events.cpp index 893a7a7e0..14ac51422 100644 --- a/src/widgets/spinbutton-events.cpp +++ b/src/widgets/spinbutton-events.cpp @@ -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; -- cgit v1.2.3