summaryrefslogtreecommitdiff
path: root/gtk/gtkinfobar.c
diff options
context:
space:
mode:
authorChristian Hergert <chergert@redhat.com>2019-05-30 20:56:50 -0700
committerChristian Hergert <chergert@redhat.com>2019-05-30 20:56:50 -0700
commitbd26cce812c426ab37db1613a05be52023ea1778 (patch)
tree602a05f31728ff74b315695ba8b1ea4436e27be7 /gtk/gtkinfobar.c
parent8925c1729781442d8def33a2c29bcc3a672bf3ec (diff)
downloadgtk+-bd26cce812c426ab37db1613a05be52023ea1778.tar.gz
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
Diffstat (limited to 'gtk/gtkinfobar.c')
-rw-r--r--gtk/gtkinfobar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c
index dcb130e0d5..2e52a5838d 100644
--- a/gtk/gtkinfobar.c
+++ b/gtk/gtkinfobar.c
@@ -385,7 +385,7 @@ gtk_info_bar_class_init (GtkInfoBarClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkInfoBarClass, response),
NULL, NULL,
- g_cclosure_marshal_VOID__INT,
+ NULL,
G_TYPE_NONE, 1,
G_TYPE_INT);