[gtk/wip/otte/G_TYPE_POINTER: 1/5] surface: Get rid of G_TYPE_POINTER
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/otte/G_TYPE_POINTER: 1/5] surface: Get rid of G_TYPE_POINTER
- Date: Sun, 29 Aug 2021 04:11:19 +0000 (UTC)
commit 06caa5df8f3f0bf0eac104c58c948cdc963086d3
Author: Benjamin Otte <otte redhat com>
Date: Sun Aug 29 04:47:10 2021 +0200
surface: Get rid of G_TYPE_POINTER
This is an event, use the GType for events.
gdk/gdksurface.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c
index 3f2b5189ff..8ac82579ab 100644
--- a/gdk/gdksurface.c
+++ b/gdk/gdksurface.c
@@ -626,7 +626,7 @@ gdk_surface_class_init (GdkSurfaceClass *klass)
/**
* GdkSurface::event:
* @surface: the `GdkSurface`
- * @event: (type Gdk.Event): an input event
+ * @event: an input event
*
* Emitted when GDK receives an input event for @surface.
*
@@ -642,7 +642,7 @@ gdk_surface_class_init (GdkSurfaceClass *klass)
gdk_surface_event_marshaller,
G_TYPE_BOOLEAN,
1,
- G_TYPE_POINTER);
+ GDK_TYPE_EVENT);
g_signal_set_va_marshaller (signals[EVENT],
G_OBJECT_CLASS_TYPE (object_class),
gdk_surface_event_marshallerv);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]