Commit b506b461 authored by Tim Janik's avatar Tim Janik Committed by Tim Janik

_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.
parent 78ae775e
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.
Thu Nov 2 14:10:51 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdnd-x11.c: Fix a bunch of functions that should have
......
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.
Thu Nov 2 14:10:51 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdnd-x11.c: Fix a bunch of functions that should have
......
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.
Thu Nov 2 14:10:51 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdnd-x11.c: Fix a bunch of functions that should have
......
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.
Thu Nov 2 14:10:51 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdnd-x11.c: Fix a bunch of functions that should have
......
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.
Thu Nov 2 14:10:51 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdnd-x11.c: Fix a bunch of functions that should have
......
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.
Thu Nov 2 14:10:51 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdnd-x11.c: Fix a bunch of functions that should have
......
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.
Thu Nov 2 14:10:51 2000 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdnd-x11.c: Fix a bunch of functions that should have
......
......@@ -232,7 +232,7 @@ gtk_object_shutdown (GObject *gobject)
static void
gtk_object_real_destroy (GtkObject *object)
{
g_signal_handlers_destroy (G_OBJECT (object));
_g_signal_handlers_destroy (G_OBJECT (object));
}
static void
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment