diff --git a/src/core/window.c b/src/core/window.c index c2d9869d2..c6f8432a3 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -7293,13 +7293,16 @@ meta_window_get_wm_class_instance (MetaWindow *window) } /** - * meta_window_get_flatpak_id: + * meta_window_get_sandboxed_app_id: * @window: a #MetaWindow * - * Return value: (transfer none): the Flatpak application ID or %NULL + * Gets an unique id for a sandboxed app (currently flatpaks and snaps are + * supported). + * + * Return value: (transfer none): the sandboxed application ID or %NULL **/ const char * -meta_window_get_flatpak_id (MetaWindow *window) +meta_window_get_sandboxed_app_id (MetaWindow *window) { /* We're abusing this API here not to break the gnome shell assumptions * or adding a new function, to be renamed to generic names in new versions */ diff --git a/src/meta/window.h b/src/meta/window.h index b482bed37..09317e656 100644 --- a/src/meta/window.h +++ b/src/meta/window.h @@ -138,7 +138,7 @@ const char * meta_window_get_wm_class (MetaWindow *window); const char * meta_window_get_wm_class_instance (MetaWindow *window); gboolean meta_window_showing_on_its_workspace (MetaWindow *window); -const char * meta_window_get_flatpak_id (MetaWindow *window); +const char * meta_window_get_sandboxed_app_id (MetaWindow *window); const char * meta_window_get_gtk_theme_variant (MetaWindow *window); const char * meta_window_get_gtk_application_id (MetaWindow *window); const char * meta_window_get_gtk_unique_bus_name (MetaWindow *window);