app-system: Fix some enum warnings
https://bugzilla.gnome.org/show_bug.cgi?id=698486
This commit is contained in:
parent
0256a6d47b
commit
3a4782cc64
@ -618,6 +618,7 @@ _shell_app_system_notify_app_state_changed (ShellAppSystem *self,
|
|||||||
switch (state)
|
switch (state)
|
||||||
{
|
{
|
||||||
case SHELL_APP_STATE_RUNNING:
|
case SHELL_APP_STATE_RUNNING:
|
||||||
|
case SHELL_APP_STATE_BUSY:
|
||||||
g_hash_table_insert (self->priv->running_apps, g_object_ref (app), NULL);
|
g_hash_table_insert (self->priv->running_apps, g_object_ref (app), NULL);
|
||||||
break;
|
break;
|
||||||
case SHELL_APP_STATE_STARTING:
|
case SHELL_APP_STATE_STARTING:
|
||||||
|
@ -653,6 +653,7 @@ shell_app_activate_full (ShellApp *app,
|
|||||||
case SHELL_APP_STATE_STARTING:
|
case SHELL_APP_STATE_STARTING:
|
||||||
break;
|
break;
|
||||||
case SHELL_APP_STATE_RUNNING:
|
case SHELL_APP_STATE_RUNNING:
|
||||||
|
case SHELL_APP_STATE_BUSY:
|
||||||
shell_app_activate_window (app, NULL, timestamp);
|
shell_app_activate_window (app, NULL, timestamp);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user