Fix more parentless modal dialogs
This commit is contained in:
parent
9ad8f655ce
commit
ed2fa03585
1 changed files with 7 additions and 7 deletions
|
@ -159,13 +159,6 @@ main (int argc, char **argv)
|
||||||
if (!data)
|
if (!data)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
if (install_filename != NULL) {
|
|
||||||
GFile *inst = g_file_new_for_commandline_arg (install_filename);
|
|
||||||
g_free (install_filename);
|
|
||||||
gnome_theme_install (inst, NULL);
|
|
||||||
g_object_unref (inst);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* init tabs */
|
/* init tabs */
|
||||||
themes_init (data);
|
themes_init (data);
|
||||||
style_init (data);
|
style_init (data);
|
||||||
|
@ -205,6 +198,13 @@ main (int argc, char **argv)
|
||||||
g_free (page_name);
|
g_free (page_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (install_filename != NULL) {
|
||||||
|
GFile *inst = g_file_new_for_commandline_arg (install_filename);
|
||||||
|
g_free (install_filename);
|
||||||
|
gnome_theme_install (inst, GTK_WINDOW (w));
|
||||||
|
g_object_unref (inst);
|
||||||
|
}
|
||||||
|
|
||||||
g_option_context_free (option_context);
|
g_option_context_free (option_context);
|
||||||
|
|
||||||
/* start the mainloop */
|
/* start the mainloop */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue