summaryrefslogtreecommitdiff
path: root/gtk/gtkbutton.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@src.gnome.org>2001-10-27 00:59:51 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-10-27 00:59:51 +0000
commitc860d735bdfcf6481f8a74b55479ff2f147a76e8 (patch)
tree480ce29003d6aa68ceb8ba3770ecf4fc971ddd01 /gtk/gtkbutton.c
parentc226dd70fdedad5ef2a0f78e10d5ca65a704b913 (diff)
downloadgtk+-c860d735bdfcf6481f8a74b55479ff2f147a76e8.tar.gz
Oct 26 20:55:57 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbutton.c: Revert changes to GTK_RUN_LAST. Unfortunately, people apparently erroneously connect to ::clicked for GtkToggleButton and expect they know what happened in the default signal handler instead of appropriately connecting to notification signal ::toggled. When the revolution comes, such people will be first against the wall. We'll just have to go back to the old less-reliable set-it-back hacks for handling model-view toggle buttons and entries. :-(.
Diffstat (limited to 'gtk/gtkbutton.c')
-rw-r--r--gtk/gtkbutton.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index eefc24f15c..fa32a00038 100644
--- a/gtk/gtkbutton.c
+++ b/gtk/gtkbutton.c
@@ -212,42 +212,42 @@ gtk_button_class_init (GtkButtonClass *klass)
button_signals[PRESSED] =
gtk_signal_new ("pressed",
- GTK_RUN_LAST,
+ GTK_RUN_FIRST,
GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkButtonClass, pressed),
gtk_marshal_VOID__VOID,
GTK_TYPE_NONE, 0);
button_signals[RELEASED] =
gtk_signal_new ("released",
- GTK_RUN_LAST,
+ GTK_RUN_FIRST,
GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkButtonClass, released),
gtk_marshal_VOID__VOID,
GTK_TYPE_NONE, 0);
button_signals[CLICKED] =
gtk_signal_new ("clicked",
- GTK_RUN_LAST | GTK_RUN_ACTION,
+ GTK_RUN_FIRST | GTK_RUN_ACTION,
GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkButtonClass, clicked),
gtk_marshal_VOID__VOID,
GTK_TYPE_NONE, 0);
button_signals[ENTER] =
gtk_signal_new ("enter",
- GTK_RUN_LAST,
+ GTK_RUN_FIRST,
GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkButtonClass, enter),
gtk_marshal_VOID__VOID,
GTK_TYPE_NONE, 0);
button_signals[LEAVE] =
gtk_signal_new ("leave",
- GTK_RUN_LAST,
+ GTK_RUN_FIRST,
GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkButtonClass, leave),
gtk_marshal_VOID__VOID,
GTK_TYPE_NONE, 0);
button_signals[ACTIVATE] =
gtk_signal_new ("activate",
- GTK_RUN_LAST,
+ GTK_RUN_FIRST,
GTK_CLASS_TYPE (object_class),
GTK_SIGNAL_OFFSET (GtkButtonClass, activate),
gtk_marshal_VOID__VOID,