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:
Jonathan Blandford 2001-02-21 23:42:31 +00:00 committed by Jonathan Blandford
parent cd89e4cca6
commit f3ec41e8d2
2 changed files with 6 additions and 1 deletions

View File

@ -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>
Applied patch from Soeren Sandmann:

View File

@ -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);