diff options
author | Michael Natterer <mitch@imendio.com> | 2008-07-21 09:48:20 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-07-21 09:48:20 +0000 |
commit | 7f00695920a217612a312ba190697a028061391b (patch) | |
tree | 47a14a7b3908fc75f2743c9b4e407502b5fa1832 /gtk/gtktoolbar.c | |
parent | c6bb5b48823530eec2c24a1f69ee149a39ccb405 (diff) | |
download | gtk+-7f00695920a217612a312ba190697a028061391b.tar.gz |
remove _gtk_binding_signal_new().
2008-07-21 Michael Natterer <mitch@imendio.com>
* gtk/gtkbindings.[ch]: remove _gtk_binding_signal_new().
* gtk/gtkfilechooserdefault.c
* gtk/gtkmenu.c
* gtk/gtkmenushell.c
* gtk/gtkscalebutton.c
* gtk/gtktextview.c
* gtk/gtktoolbar.c
* gtk/gtkwidget.c: use g_signal_new_class_handler() instead. Add
some missing I_() to the signal names.
svn path=/trunk/; revision=20874
Diffstat (limited to 'gtk/gtktoolbar.c')
-rw-r--r-- | gtk/gtktoolbar.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c index c7b17e4d1f..e2445c04e6 100644 --- a/gtk/gtktoolbar.c +++ b/gtk/gtktoolbar.c @@ -478,15 +478,15 @@ gtk_toolbar_class_init (GtkToolbarClass *klass) * Return value: %TRUE if the signal was handled, %FALSE if not */ toolbar_signals[FOCUS_HOME_OR_END] = - _gtk_binding_signal_new (I_("focus_home_or_end"), - G_OBJECT_CLASS_TYPE (klass), - G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, - G_CALLBACK (gtk_toolbar_focus_home_or_end), - NULL, NULL, - _gtk_marshal_BOOLEAN__BOOLEAN, - G_TYPE_BOOLEAN, 1, - G_TYPE_BOOLEAN); - + g_signal_new_class_handler (I_("focus_home_or_end"), + G_OBJECT_CLASS_TYPE (klass), + G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, + G_CALLBACK (gtk_toolbar_focus_home_or_end), + NULL, NULL, + _gtk_marshal_BOOLEAN__BOOLEAN, + G_TYPE_BOOLEAN, 1, + G_TYPE_BOOLEAN); + /* properties */ g_object_class_install_property (gobject_class, PROP_ORIENTATION, |