Commit 7a3f6786 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

moved call to sanity_check() after the initialization of gtk+ so that the

2005-02-06  Sven Neumann  <sven@gimp.org>

	* app/main.c: moved call to sanity_check() after the
	initialization of gtk+ so that the error message can be displayed.
parent 4799a27e
2005-02-06 Sven Neumann <sven@gimp.org>
* app/main.c: moved call to sanity_check() after the
initialization of gtk+ so that the error message can be displayed.
2005-02-05 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcontrollers.c (gimp_controllers_init): removed
......
......@@ -254,11 +254,6 @@ main (int argc,
/* set the application name */
g_set_application_name (_("The GIMP"));
/* do some sanity checks */
abort_message = sanity_check ();
if (abort_message)
app_abort (no_interface, abort_message);
/* Check argv[] for "--no-interface" before trying to initialize gtk+. */
for (i = 1; i < argc; i++)
{
......@@ -290,6 +285,11 @@ main (int argc,
app_exit (EXIT_FAILURE);
}
/* do some sanity checks */
abort_message = sanity_check ();
if (abort_message)
app_abort (no_interface, abort_message);
/* parse the command-line options */
context = g_option_context_new ("[FILE|URI...]");
g_option_context_add_main_entries (context, main_entries, GETTEXT_PACKAGE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment