summaryrefslogtreecommitdiff
path: root/gtk/gtkspinbutton.c
diff options
context:
space:
mode:
authorTim Janik <timj@gimp.org>1998-03-01 23:29:40 +0000
committerTim Janik <timj@src.gnome.org>1998-03-01 23:29:40 +0000
commitaf18ab4305fbf3f913bd57988d3e845d794ae8b5 (patch)
tree03abdd43558f2b99cee6f32a8cfb61fece3ba4fe /gtk/gtkspinbutton.c
parent3fb589b2ff76843d840e98ad90de186f43fc2893 (diff)
downloadgdk-pixbuf-af18ab4305fbf3f913bd57988d3e845d794ae8b5.tar.gz
complete api change to honour message contexts. unfortunaltely this also
Sun Mar 1 22:59:09 1998 Tim Janik <timj@gimp.org> * gtk/gtkstatusbar.h: * gtk/gtkstatusbar.c: complete api change to honour message contexts. unfortunaltely this also involved argument changes on the signal emissions which will not be caught by the compiler. your callbacks should look like: void message_text_popped (GtkStatusbar *statusbar, guint context_id, const gchar *text, gpointer func_data); * gtk/gtkwidget.c (gtk_widget_set_rc_style): eliminated bug about initial signal emission. (gtk_widget_set_parent): don't ensure style, just call gtk_widget_set_style_recurse. (gtk_widget_set_style_recurse): only change a widget's rc styles if if there has already been a lookup. * gtk/testgtk.c: adaptions for statusbar widget. substituted notebook pixmaps with pixmaps from fvwm, since we don't know where the originals came from. * gtk/gtkobject.c (gtk_object_data_destroy): call the destroy notifier with the objects data, not its internal structure. * gtk/gtkspinbutton.c (gtk_spin_button_button_press): small fix from lars.
Diffstat (limited to 'gtk/gtkspinbutton.c')
-rw-r--r--gtk/gtkspinbutton.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index 552e20ef3..6f8cd8a19 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -528,9 +528,6 @@ gtk_spin_button_button_press (GtkWidget *widget,
spin = GTK_SPIN_BUTTON (widget);
- if (event->type != GDK_BUTTON_PRESS)
- return FALSE;
-
if (!spin->button)
{
if (event->window == spin->panel)