From bd26cce812c426ab37db1613a05be52023ea1778 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Thu, 30 May 2019 20:56:50 -0700 Subject: gtk: rely on default marshallers Similar to previous removals of g_cclosure_marshal_VOID__VOID we can remove other marshallers for which are a simple G_TYPE_NONE with single parameter. In those cases, GLib will setup both a c_marshaller and va_marshaller for us. Before this commit, we would not get a va_marshaller because the c_marshaller is set. Related to GNOME/Initiatives#10 --- gtk/gtkcombobox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkcombobox.c') diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index ca13dc037a..3d8afc863b 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -475,7 +475,7 @@ gtk_combo_box_class_init (GtkComboBoxClass *klass) G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_CALLBACK (gtk_combo_box_real_move_active), NULL, NULL, - g_cclosure_marshal_VOID__ENUM, + NULL, G_TYPE_NONE, 1, GTK_TYPE_SCROLL_TYPE); -- cgit v1.2.1