From 2632cf94f6e9d9ef09c53d9cd3d64fbe4096d833 Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Thu, 22 Feb 2001 17:12:06 +0000 Subject: [PATCH] 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. --- gobject/ChangeLog | 3 +++ gobject/gsignal.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/gobject/ChangeLog b/gobject/ChangeLog index aa74a2310..c97705fb7 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -3,6 +3,9 @@ Wed Feb 21 18:31:46 2001 Jonathan Blandford * gsignal.h (g_signal_connect): Add g_signal_connect define to 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 Applied patch from Soeren Sandmann: diff --git a/gobject/gsignal.h b/gobject/gsignal.h index 312c5e055..a967d2eae 100644 --- a/gobject/gsignal.h +++ b/gobject/gsignal.h @@ -154,6 +154,8 @@ gboolean g_signal_has_handler_pending (gpointer instance, guint signal_id, GQuark detail, 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 signal_id, GQuark detail,