window: rename get_flatpack_id into get_sandboxed_app_id
This function can be more generic now. https://bugzilla.gnome.org/show_bug.cgi?id=789277
This commit is contained in:
parent
0ebea2be9c
commit
ab5ac21104
@ -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 */
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user