Use NULL for generic marshallers in g_signal_new()

glib will use the correct marshaller automatically. And as a side
effect, we also get all glib optimizations, like a va marshaller.
This commit is contained in:
Benjamin Otte
2016-08-29 16:00:17 +02:00
parent 6af5033386
commit e1a03ead7a
66 changed files with 178 additions and 193 deletions

View File

@ -254,7 +254,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkColorButtonClass, color_set),
NULL, NULL,
_gtk_marshal_VOID__VOID,
NULL,
G_TYPE_NONE, 0);
/**