From e1a03ead7a541a2118816b1632e957cc2bb44c8f Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 29 Aug 2016 16:00:17 +0200 Subject: 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. --- gtk/gtktrashmonitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtktrashmonitor.c') diff --git a/gtk/gtktrashmonitor.c b/gtk/gtktrashmonitor.c index 73d0590bd4..8d9ef6f737 100644 --- a/gtk/gtktrashmonitor.c +++ b/gtk/gtktrashmonitor.c @@ -88,7 +88,7 @@ _gtk_trash_monitor_class_init (GtkTrashMonitorClass *class) G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GtkTrashMonitorClass, trash_state_changed), NULL, NULL, - _gtk_marshal_VOID__VOID, + NULL, G_TYPE_NONE, 0); } -- cgit v1.2.1