Committed the wrong thing yesterday.

* gsignal.c (g_signal_emit_valist): Use G_TYPE_FROM_INSTANCE
(instance) instead of node->itype when initting the value.
This commit is contained in:
Jonathan Blandford 2001-02-22 17:12:06 +00:00
parent 53be713583
commit 2632cf94f6
2 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,9 @@ Wed Feb 21 18:31:46 2001 Jonathan Blandford <jrb@redhat.com>
* gsignal.h (g_signal_connect): Add g_signal_connect define to * gsignal.h (g_signal_connect): Add g_signal_connect define to
make porting from gtk_signal_connect easy. make porting from gtk_signal_connect easy.
* gsignal.c (g_signal_emit_valist): Use G_TYPE_FROM_INSTANCE
(instance) instead of node->itype when initting the value.
2001-02-17 Havoc Pennington <hp@pobox.com> 2001-02-17 Havoc Pennington <hp@pobox.com>
Applied patch from Soeren Sandmann: Applied patch from Soeren Sandmann:

View File

@ -154,6 +154,8 @@ gboolean g_signal_has_handler_pending (gpointer instance,
guint signal_id, guint signal_id,
GQuark detail, GQuark detail,
gboolean may_be_blocked); gboolean may_be_blocked);
#define g_signal_connect(instance, detailed_signal, c_handler, data) \
g_signal_connect_data (instance, detailed_signal, c_handler, data, NULL, FALSE, FALSE)
guint g_signal_connect_closure_by_id (gpointer instance, guint g_signal_connect_closure_by_id (gpointer instance,
guint signal_id, guint signal_id,
GQuark detail, GQuark detail,