mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
app: Removed unused function
https://bugzilla.gnome.org/show_bug.cgi?id=707663
This commit is contained in:
parent
1dfc38d078
commit
b437e68026
1 changed files with 0 additions and 19 deletions
|
|
@ -771,25 +771,6 @@ shell_app_get_n_windows (ShellApp *app)
|
|||
return g_slist_length (app->running_state->windows);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
shell_app_has_visible_windows (ShellApp *app)
|
||||
{
|
||||
GSList *iter;
|
||||
|
||||
if (app->running_state == NULL)
|
||||
return FALSE;
|
||||
|
||||
for (iter = app->running_state->windows; iter; iter = iter->next)
|
||||
{
|
||||
MetaWindow *window = iter->data;
|
||||
|
||||
if (meta_window_showing_on_its_workspace (window))
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
gboolean
|
||||
shell_app_is_on_workspace (ShellApp *app,
|
||||
MetaWorkspace *workspace)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue