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

@ -176,7 +176,7 @@ gtk_editable_base_init (gpointer g_class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkEditableInterface, changed),
NULL, NULL,
_gtk_marshal_VOID__VOID,
NULL,
G_TYPE_NONE, 0);
initialized = TRUE;