backend: Make get_cogl_context introspectable

To be able to use the Snippet API from GJS properly,
this method is required in many cases.

Related: https://gitlab.gnome.org/GNOME/mutter/-/issues/2280
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2422>
This commit is contained in:
Simon Schneegans 2022-05-18 07:38:50 +02:00 committed by Marge Bot
parent a2ebd10f04
commit b9a5f9a373

View File

@ -653,7 +653,7 @@ _clutter_backend_translate_event (ClutterBackend *backend,
}
/**
* clutter_backend_get_cogl_context: (skip)
* clutter_backend_get_cogl_context:
* @backend: a #ClutterBackend
*
* Retrieves the #CoglContext associated with the given clutter