marshallers: ensure g_cclosure_marshal_VOID__VOIDv is used
If we set c_marshaller manually, then g_signal_newv() will not setup a va_marshaller for us. However, if we provide c_marshaller as NULL, it will setup both the c_marshaller (to g_cclosure_marshal_VOID__VOID) and va_marshaller (to g_cclosure_marshal_VOID__VOIDv) for us.
This commit is contained in:
		| @ -94,7 +94,7 @@ gtk_printer_option_class_init (GtkPrinterOptionClass *class) | ||||
| 		  G_SIGNAL_RUN_LAST, | ||||
| 		  G_STRUCT_OFFSET (GtkPrinterOptionClass, changed), | ||||
| 		  NULL, NULL, | ||||
| 		  g_cclosure_marshal_VOID__VOID, | ||||
| 		  NULL, | ||||
| 		  G_TYPE_NONE, 0); | ||||
|  | ||||
|   g_object_class_install_property (G_OBJECT_CLASS (class), | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Christian Hergert
					Christian Hergert