diff options
| author | Jon Phillips <jon@fabricatorz.com> | 2006-08-25 07:03:19 +0000 |
|---|---|---|
| committer | kidproto <kidproto@users.sourceforge.net> | 2006-08-25 07:03:19 +0000 |
| commit | 5d6f51f32ca2356b0d6155015457a83e60b314e8 (patch) | |
| tree | 835131f8041d12103ea82dc6b23917443f61cd42 /src/widgets/spinbutton-events.cpp | |
| parent | I peeled back my changes because of some deep error. (diff) | |
| download | inkscape-5d6f51f32ca2356b0d6155015457a83e60b314e8.tar.gz inkscape-5d6f51f32ca2356b0d6155015457a83e60b314e8.zip | |
peeled back the gboolean code as it hit on some complexity theory principles...
need to rethink and incrementally change gbooleans to bools
(bzr r1637)
Diffstat (limited to 'src/widgets/spinbutton-events.cpp')
| -rw-r--r-- | src/widgets/spinbutton-events.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; |
