mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
window: don't let window disposal cause app exit with greeter
If the greeter was shown and the window got closed, the whole app could exit without this.
This commit is contained in:
@ -209,6 +209,8 @@ sysprof_window_record_capture_action (GtkWidget *widget,
|
||||
greeter = g_object_new (SYSPROF_TYPE_GREETER,
|
||||
"transient-for", self,
|
||||
NULL);
|
||||
gtk_application_add_window (GTK_APPLICATION (SYSPROF_APPLICATION_DEFAULT),
|
||||
GTK_WINDOW (greeter));
|
||||
gtk_window_present (GTK_WINDOW (greeter));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user