diff options
author | Christian Hergert <chergert@redhat.com> | 2019-05-29 13:05:19 -0700 |
---|---|---|
committer | Christian Hergert <chergert@redhat.com> | 2019-05-29 13:22:31 -0700 |
commit | f507a79056b44cfce5cb1d27f37ac71c682bd22f (patch) | |
tree | 8728d57fe23c68d41559ed0021dfd4a3f12233fe /gtk/gtkstylecontext.c | |
parent | 90f330e27a7576c9a2d24398e71bf3097f591f08 (diff) | |
download | gtk+-f507a79056b44cfce5cb1d27f37ac71c682bd22f.tar.gz |
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.
Diffstat (limited to 'gtk/gtkstylecontext.c')
-rw-r--r-- | gtk/gtkstylecontext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c index 27c73dbd80..b8e032d10b 100644 --- a/gtk/gtkstylecontext.c +++ b/gtk/gtkstylecontext.c @@ -198,7 +198,7 @@ gtk_style_context_class_init (GtkStyleContextClass *klass) G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (GtkStyleContextClass, changed), NULL, NULL, - g_cclosure_marshal_VOID__VOID, + NULL, G_TYPE_NONE, 0); properties[PROP_DISPLAY] = |