gnome-shell/src/shell-window-preview.h
Florian Müllner 01824a6d4e shell: Add getter/setters for all properties
Traditionally, getter/setter functions have been considered a
C convenience, and we therefore didn't bother to add them for
many properties that are only consumed from JS.

However now that gjs optimizes property accesses by calling the
appropriate getter/setter instead, it makes sense to add them.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3620>
2025-02-12 13:11:11 +00:00

14 lines
339 B
C

#pragma once
#include <st/st.h>
G_BEGIN_DECLS
#define SHELL_TYPE_WINDOW_PREVIEW (shell_window_preview_get_type ())
G_DECLARE_FINAL_TYPE (ShellWindowPreview, shell_window_preview,
SHELL, WINDOW_PREVIEW, StWidget)
ClutterActor * shell_window_preview_get_window_container (ShellWindowPreview *preview);
G_END_DECLS