diff options
author | Christian Hergert <chergert@redhat.com> | 2019-05-30 20:56:50 -0700 |
---|---|---|
committer | Christian Hergert <chergert@redhat.com> | 2019-05-30 20:56:50 -0700 |
commit | bd26cce812c426ab37db1613a05be52023ea1778 (patch) | |
tree | 602a05f31728ff74b315695ba8b1ea4436e27be7 /gtk/gtkcellrendereraccel.c | |
parent | 8925c1729781442d8def33a2c29bcc3a672bf3ec (diff) | |
download | gtk+-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/gtkcellrendereraccel.c')
-rw-r--r-- | gtk/gtkcellrendereraccel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcellrendereraccel.c b/gtk/gtkcellrendereraccel.c index 4f0f1b2bf1..38dbf83f23 100644 --- a/gtk/gtkcellrendereraccel.c +++ b/gtk/gtkcellrendereraccel.c @@ -264,7 +264,7 @@ gtk_cell_renderer_accel_class_init (GtkCellRendererAccelClass *cell_accel_class) G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GtkCellRendererAccelClass, accel_cleared), NULL, NULL, - g_cclosure_marshal_VOID__STRING, + NULL, G_TYPE_NONE, 1, G_TYPE_STRING); } |