summaryrefslogtreecommitdiff
path: root/gtk/gtkcssnode.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-08-29 16:00:17 +0200
committerBenjamin Otte <otte@redhat.com>2016-08-29 16:20:54 +0200
commite1a03ead7a541a2118816b1632e957cc2bb44c8f (patch)
treef3f1f5fafcdfb1fdff2f7420c5cb1216af71abe5 /gtk/gtkcssnode.c
parent6af5033386b60bdf71cc21d99d579c2a8c389880 (diff)
downloadgtk+-e1a03ead7a541a2118816b1632e957cc2bb44c8f.tar.gz
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.
Diffstat (limited to 'gtk/gtkcssnode.c')
-rw-r--r--gtk/gtkcssnode.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk/gtkcssnode.c b/gtk/gtkcssnode.c
index 917cd5652e..5be280679a 100644
--- a/gtk/gtkcssnode.c
+++ b/gtk/gtkcssnode.c
@@ -616,12 +616,9 @@ gtk_css_node_class_init (GtkCssNodeClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkCssNodeClass, style_changed),
NULL, NULL,
- _gtk_marshal_VOID__POINTER,
+ NULL,
G_TYPE_NONE, 1,
G_TYPE_POINTER);
- g_signal_set_va_marshaller (cssnode_signals[STYLE_CHANGED],
- G_TYPE_FROM_CLASS (klass),
- _gtk_marshal_VOID__POINTERv);
cssnode_properties[PROP_CLASSES] =
g_param_spec_boxed ("classes", P_("Style Classes"), P_("List of classes"),