diff options
author | Tim Janik <timj@gtk.org> | 2000-11-03 08:18:20 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2000-11-03 08:18:20 +0000 |
commit | b506b461cb03d4b3aac16f82298a5427f1baf759 (patch) | |
tree | c863fbca2e54fa126262c5af2c9ad740f701296e /gtk/gtksignal.c | |
parent | 78ae775ee81b865b29f101e5233e170fba11e9a4 (diff) | |
download | gdk-pixbuf-b506b461cb03d4b3aac16f82298a5427f1baf759.tar.gz |
_g_signal_handlers_destroy() is prefixed with '_' now.
Fri Nov 3 08:58:38 2000 Tim Janik <timj@gtk.org>
* gtk/gtkobject.c: _g_signal_handlers_destroy() is prefixed with '_'
now.
* gtk/gtksignal.c: use g_signal_connect_closure_by_id() now.
Diffstat (limited to 'gtk/gtksignal.c')
-rw-r--r-- | gtk/gtksignal.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/gtk/gtksignal.c b/gtk/gtksignal.c index 883d04792..219680dc1 100644 --- a/gtk/gtksignal.c +++ b/gtk/gtksignal.c @@ -105,10 +105,10 @@ gtk_signal_connect_object_while_alive (GtkObject *object, { g_return_if_fail (GTK_IS_OBJECT (object)); - g_signal_connect_closure (object, - g_signal_lookup (signal, G_OBJECT_TYPE (object)), 0, - g_cclosure_new_object_swap (func, alive_object), - FALSE); + g_signal_connect_closure_by_id (object, + g_signal_lookup (signal, G_OBJECT_TYPE (object)), 0, + g_cclosure_new_object_swap (func, alive_object), + FALSE); } void @@ -124,10 +124,10 @@ gtk_signal_connect_while_alive (GtkObject *object, closure = g_cclosure_new (func, func_data, NULL); g_object_watch_closure (G_OBJECT (alive_object), closure); - g_signal_connect_closure (object, - g_signal_lookup (signal, G_OBJECT_TYPE (object)), 0, - closure, - FALSE); + g_signal_connect_closure_by_id (object, + g_signal_lookup (signal, G_OBJECT_TYPE (object)), 0, + closure, + FALSE); } guint @@ -143,14 +143,14 @@ gtk_signal_connect_full (GtkObject *object, g_return_val_if_fail (GTK_IS_OBJECT (object), 0); g_return_val_if_fail (unsupported == NULL, 0); - return g_signal_connect_closure (object, - g_signal_lookup (name, G_OBJECT_TYPE (object)), 0, - (object_signal - ? g_cclosure_new_swap - : g_cclosure_new) (func, - data, - (GClosureNotify) destroy_func), - after); + return g_signal_connect_closure_by_id (object, + g_signal_lookup (name, G_OBJECT_TYPE (object)), 0, + (object_signal + ? g_cclosure_new_swap + : g_cclosure_new) (func, + data, + (GClosureNotify) destroy_func), + after); } void |