mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-12 20:36:15 +01:00
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.
This commit is contained in:
parent
cd89e4cca6
commit
f3ec41e8d2
@ -1,3 +1,8 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
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:
|
||||||
|
@ -1666,7 +1666,7 @@ g_signal_emit_valist (gpointer instance,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
instance_and_params->g_type = 0;
|
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);
|
g_value_set_instance (instance_and_params, instance);
|
||||||
if (node->return_type == G_TYPE_NONE)
|
if (node->return_type == G_TYPE_NONE)
|
||||||
signal_emit_R (node, detail, instance, NULL, instance_and_params);
|
signal_emit_R (node, detail, instance, NULL, instance_and_params);
|
||||||
|
Loading…
Reference in New Issue
Block a user