cursor-tracker: Don't use g_cclosure_marshal_VOID__VOID
Similar to gtk commit f507a790, this ensures that the valist variant of the marshaller is used. From that commit's message: ``` If we set c_marshaller manually, then g_signal_newv() will not setup a va_marshaller for us. However, if we provide c_marshaller as NULL, it will setup both the c_marshaller (to g_cclosure_marshal_VOID__VOID) and va_marshaller (to g_cclosure_marshal_VOID__VOIDv) for us. ``` https://gitlab.gnome.org/GNOME/mutter/merge_requests/697
This commit is contained in:
parent
efe6c13d93
commit
4de892b02a
@ -183,8 +183,7 @@ meta_cursor_tracker_class_init (MetaCursorTrackerClass *klass)
|
|||||||
signals[VISIBILITY_CHANGED] = g_signal_new ("visibility-changed",
|
signals[VISIBILITY_CHANGED] = g_signal_new ("visibility-changed",
|
||||||
G_TYPE_FROM_CLASS (klass),
|
G_TYPE_FROM_CLASS (klass),
|
||||||
G_SIGNAL_RUN_LAST,
|
G_SIGNAL_RUN_LAST,
|
||||||
0, NULL, NULL,
|
0, NULL, NULL, NULL,
|
||||||
g_cclosure_marshal_VOID__VOID,
|
|
||||||
G_TYPE_NONE, 0);
|
G_TYPE_NONE, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user