summaryrefslogtreecommitdiff
path: root/gtk/gtkfontbutton.c
diff options
context:
space:
mode:
authorChristian Hergert <chergert@redhat.com>2019-05-29 13:05:19 -0700
committerChristian Hergert <chergert@redhat.com>2019-05-29 13:22:31 -0700
commitf507a79056b44cfce5cb1d27f37ac71c682bd22f (patch)
tree8728d57fe23c68d41559ed0021dfd4a3f12233fe /gtk/gtkfontbutton.c
parent90f330e27a7576c9a2d24398e71bf3097f591f08 (diff)
downloadgtk+-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/gtkfontbutton.c')
-rw-r--r--gtk/gtkfontbutton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c
index a8fb2deb18..db2aa4dc64 100644
--- a/gtk/gtkfontbutton.c
+++ b/gtk/gtkfontbutton.c
@@ -593,7 +593,7 @@ gtk_font_button_class_init (GtkFontButtonClass *klass)
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (GtkFontButtonClass, font_set),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
+ NULL,
G_TYPE_NONE, 0);
gtk_widget_class_set_css_name (widget_class, I_("fontbutton"));