summaryrefslogtreecommitdiff
path: root/gobject/gsignal.c
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2001-02-21 23:42:31 +0000
committerJonathan Blandford <jrb@src.gnome.org>2001-02-21 23:42:31 +0000
commitf3ec41e8d22b5fa99b93ea753acb0de873732e94 (patch)
treeb816354f159fe59a08c232f2ba32131b7e8902da /gobject/gsignal.c
parentcd89e4cca6d203c3f3324d7368bbbd6634bc11d3 (diff)
Add g_signal_connect define to make porting from gtk_signal_connect easy.
Wed Feb 21 18:31:46 2001 Jonathan Blandford <jrb@redhat.com> * gsignal.h (g_signal_connect): Add g_signal_connect define to make porting from gtk_signal_connect easy.
Diffstat (limited to 'gobject/gsignal.c')
-rw-r--r--gobject/gsignal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/gsignal.c b/gobject/gsignal.c
index 14a9cea36..c86533dd6 100644
--- a/gobject/gsignal.c
+++ b/gobject/gsignal.c
@@ -1666,7 +1666,7 @@ g_signal_emit_valist (gpointer instance,
}
}
instance_and_params->g_type = 0;
- g_value_init (instance_and_params, node->itype);
+ g_value_init (instance_and_params, G_TYPE_FROM_INSTANCE (instance));
g_value_set_instance (instance_and_params, instance);
if (node->return_type == G_TYPE_NONE)
signal_emit_R (node, detail, instance, NULL, instance_and_params);