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 /gdk/gdkseat.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 'gdk/gdkseat.c')
-rw-r--r-- | gdk/gdkseat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdk/gdkseat.c b/gdk/gdkseat.c index c13fbed615..3f5f4d7622 100644 --- a/gdk/gdkseat.c +++ b/gdk/gdkseat.c @@ -129,7 +129,7 @@ gdk_seat_class_init (GdkSeatClass *klass) G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GdkSeatClass, device_added), NULL, NULL, - g_cclosure_marshal_VOID__OBJECT, + NULL, G_TYPE_NONE, 1, GDK_TYPE_DEVICE); @@ -147,7 +147,7 @@ gdk_seat_class_init (GdkSeatClass *klass) G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GdkSeatClass, device_removed), NULL, NULL, - g_cclosure_marshal_VOID__OBJECT, + NULL, G_TYPE_NONE, 1, GDK_TYPE_DEVICE); @@ -168,7 +168,7 @@ gdk_seat_class_init (GdkSeatClass *klass) G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, 0, NULL, NULL, - g_cclosure_marshal_VOID__BOXED, + NULL, G_TYPE_NONE, 1, GDK_TYPE_DEVICE_TOOL); @@ -185,7 +185,7 @@ gdk_seat_class_init (GdkSeatClass *klass) G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, 0, NULL, NULL, - g_cclosure_marshal_VOID__BOXED, + NULL, G_TYPE_NONE, 1, GDK_TYPE_DEVICE_TOOL); |