meta: Update annotations

MetaBackend is part of the public API but MetaGPU is not so gpu-added
can cause confusion, treat it as gpointer.
Also ensure XEvent is properly recognised

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1918>
This commit is contained in:
Zander Brown 2021-07-06 18:25:31 +01:00 committed by Marge Bot
parent 6a445d2eef
commit 8002919f7b
2 changed files with 2 additions and 2 deletions

View File

@ -965,7 +965,7 @@ meta_backend_class_init (MetaBackendClass *klass)
/** /**
* MetaBackend::gpu-added: (skip) * MetaBackend::gpu-added: (skip)
* @backend: the #MetaBackend * @backend: the #MetaBackend
* @gpu: the #MetaGpu * @gpu: (type gpointer): the #MetaGpu
*/ */
signals[GPU_ADDED] = signals[GPU_ADDED] =
g_signal_new ("gpu-added", g_signal_new ("gpu-added",

View File

@ -206,7 +206,7 @@ meta_group_get_startup_id (MetaGroup *group)
/** /**
* meta_group_property_notify: (skip) * meta_group_property_notify: (skip)
* @group: a #MetaGroup * @group: a #MetaGroup
* @event: a X event * @event: (type xlib.XEvent): a X event
* *
*/ */
gboolean gboolean