[gtk/wip/chergert/marshallers] frameclock: set va marshallers
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/marshallers] frameclock: set va marshallers
- Date: Wed, 29 May 2019 19:52:17 +0000 (UTC)
commit 085d5d452a00f9a802d884c0ebd462880ecf97d3
Author: Christian Hergert <chergert redhat com>
Date: Wed May 29 12:50:53 2019 -0700
frameclock: set va marshallers
GLib does not automatically set the va_marshaller for us, so we need to
do it manually after registering the signals.
gdk/gdkframeclock.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
---
diff --git a/gdk/gdkframeclock.c b/gdk/gdkframeclock.c
index 44696fac53..dfa32f999e 100644
--- a/gdk/gdkframeclock.c
+++ b/gdk/gdkframeclock.c
@@ -128,6 +128,9 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+ g_signal_set_va_marshaller (signals[FLUSH_EVENTS],
+ G_TYPE_FROM_CLASS (klass),
+ g_cclosure_marshal_VOID__VOIDv);
/**
* GdkFrameClock::before-paint:
@@ -144,6 +147,9 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+ g_signal_set_va_marshaller (signals[BEFORE_PAINT],
+ G_TYPE_FROM_CLASS (klass),
+ g_cclosure_marshal_VOID__VOIDv);
/**
* GdkFrameClock::update:
@@ -164,6 +170,9 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+ g_signal_set_va_marshaller (signals[UPDATE],
+ G_TYPE_FROM_CLASS (klass),
+ g_cclosure_marshal_VOID__VOIDv);
/**
* GdkFrameClock::layout:
@@ -182,6 +191,9 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+ g_signal_set_va_marshaller (signals[LAYOUT],
+ G_TYPE_FROM_CLASS (klass),
+ g_cclosure_marshal_VOID__VOIDv);
/**
* GdkFrameClock::paint:
@@ -201,6 +213,9 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+ g_signal_set_va_marshaller (signals[PAINT],
+ G_TYPE_FROM_CLASS (klass),
+ g_cclosure_marshal_VOID__VOIDv);
/**
* GdkFrameClock::after-paint:
@@ -217,6 +232,9 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+ g_signal_set_va_marshaller (signals[AFTER_PAINT],
+ G_TYPE_FROM_CLASS (klass),
+ g_cclosure_marshal_VOID__VOIDv);
/**
* GdkFrameClock::resume-events:
@@ -234,6 +252,9 @@ gdk_frame_clock_class_init (GdkFrameClockClass *klass)
NULL, NULL,
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE, 0);
+ g_signal_set_va_marshaller (signals[RESUME_EVENTS],
+ G_TYPE_FROM_CLASS (klass),
+ g_cclosure_marshal_VOID__VOIDv);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]