diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2012-04-23 15:19:09 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2012-04-23 15:19:09 +0000 |
| commit | 55e1e3451e22a636ba0a87017eef2d5fe2ca05bb (patch) | |
| tree | 007de64a5403a835059338e390fb40771ca45569 /src/widgets/spinbutton-events.cpp | |
| parent | Fix remaining Lucid build issues, hopefully (diff) | |
| download | inkscape-55e1e3451e22a636ba0a87017eef2d5fe2ca05bb.tar.gz inkscape-55e1e3451e22a636ba0a87017eef2d5fe2ca05bb.zip | |
Get rid of GtkObject in toolbox
(bzr r11286)
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 994d954cc..565c89ece 100644 --- a/src/widgets/spinbutton-events.cpp +++ b/src/widgets/spinbutton-events.cpp @@ -48,7 +48,7 @@ spinbutton_undo (GtkWidget *w) } void -spinbutton_defocus (GtkObject *container) +spinbutton_defocus (GtkWidget *container) { // defocus spinbuttons by moving focus to the canvas, unless "stay" is on gboolean stay = GPOINTER_TO_INT(g_object_get_data(G_OBJECT (container), "stay")); @@ -71,12 +71,12 @@ spinbutton_keypress (GtkWidget *w, GdkEventKey *event, gpointer data) switch (get_group0_keyval (event)) { case GDK_Escape: // defocus spinbutton_undo (w); - spinbutton_defocus (GTK_OBJECT (spw)); + spinbutton_defocus(GTK_WIDGET(spw)); return TRUE; // I consumed the event break; case GDK_Return: // defocus case GDK_KP_Enter: - spinbutton_defocus (GTK_OBJECT (spw)); + spinbutton_defocus (GTK_WIDGET(spw)); return TRUE; // I consumed the event break; case GDK_Tab: |
