Fix more parentless modal dialogs

This commit is contained in:
William Jon McCann 2009-08-23 23:22:59 -04:00
parent 9ad8f655ce
commit ed2fa03585

View file

@ -159,13 +159,6 @@ main (int argc, char **argv)
if (!data)
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 */
themes_init (data);
style_init (data);
@ -205,6 +198,13 @@ main (int argc, char **argv)
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);
/* start the mainloop */