window-tracker: Add new public method shell_startup_sequence_complete()
We need to provide a wrapper for sn_startup_sequence_complete() from libsn, so that's there's a way to make sure that the startup sequence gets always finished, even if the launched process exits early without an error code before ever having mapped a top level window (i.e. gnome-control-center). Closes: #267
This commit is contained in:
parent
c0a453f64f
commit
6ee13ff685
@ -906,6 +906,11 @@ shell_startup_sequence_create_icon (ShellStartupSequence *sequence, guint size)
|
|||||||
return texture;
|
return texture;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
shell_startup_sequence_complete (ShellStartupSequence *sequence)
|
||||||
|
{
|
||||||
|
sn_startup_sequence_complete ((SnStartupSequence*)sequence);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* shell_window_tracker_get_default:
|
* shell_window_tracker_get_default:
|
||||||
|
@ -36,6 +36,7 @@ const char *shell_startup_sequence_get_name (ShellStartupSequence *sequence);
|
|||||||
gboolean shell_startup_sequence_get_completed (ShellStartupSequence *sequence);
|
gboolean shell_startup_sequence_get_completed (ShellStartupSequence *sequence);
|
||||||
int shell_startup_sequence_get_workspace (ShellStartupSequence *sequence);
|
int shell_startup_sequence_get_workspace (ShellStartupSequence *sequence);
|
||||||
ClutterActor *shell_startup_sequence_create_icon (ShellStartupSequence *sequence, guint size);
|
ClutterActor *shell_startup_sequence_create_icon (ShellStartupSequence *sequence, guint size);
|
||||||
|
void shell_startup_sequence_complete (ShellStartupSequence *sequence);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user