shell/window-preview-layout: Mark return value as nullable

The function may return null, so we should mark it as such, even
if that information is currently unused.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6351

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2622>
This commit is contained in:
Florian Müllner 2023-02-02 14:55:37 +01:00 committed by Marge Bot
parent 266a19f05c
commit 1993f362d2

View File

@ -354,7 +354,7 @@ shell_window_preview_layout_class_init (ShellWindowPreviewLayoutClass *klass)
* to the container. If @window is already part of the preview, this * to the container. If @window is already part of the preview, this
* function will do nothing. * function will do nothing.
* *
* Returns: (transfer none): The newly created actor drawing @window * Returns: (nullable) (transfer none): The newly created actor drawing @window
*/ */
ClutterActor * ClutterActor *
shell_window_preview_layout_add_window (ShellWindowPreviewLayout *self, shell_window_preview_layout_add_window (ShellWindowPreviewLayout *self,