app/app_procs.c app/batch.c moved global variables out of main.c.

2003-08-09  Sven Neumann  <sven@gimp.org>

	* app/app_procs.c
	* app/batch.c
	* app/main.c: moved global variables out of main.c.
This commit is contained in:
Sven Neumann 2003-08-09 11:51:42 +00:00 committed by Sven Neumann
parent 74492a8852
commit 9aaf432daa
4 changed files with 27 additions and 20 deletions

View File

@ -1,3 +1,9 @@
2003-08-09 Sven Neumann <sven@gimp.org>
* app/app_procs.c
* app/batch.c
* app/main.c: moved global variables out of main.c.
2003-08-09 Dave Neary <bolsh@gimp.org>
* plug-ins/common/iwarp.c: Fixed bug #119440 with Raphael Quinet.

View File

@ -77,6 +77,25 @@ static gboolean app_exit_finish_callback (Gimp *gimp,
Gimp *the_gimp = NULL;
/* command-line options */
gboolean no_interface = FALSE;
gboolean no_data = FALSE;
gboolean no_splash = FALSE;
gboolean no_splash_image = FALSE;
gboolean be_verbose = FALSE;
gboolean use_shm = FALSE;
gboolean use_debug_handler = FALSE;
gboolean console_messages = FALSE;
gboolean restore_session = FALSE;
gboolean use_mmx = TRUE;
GimpStackTraceMode stack_trace_mode = GIMP_STACK_TRACE_QUERY;
gchar *alternate_gimprc = NULL;
gchar *alternate_system_gimprc = NULL;
/* other global variables */
gchar *prog_name = NULL; /* our executable name */
/* public functions */

View File

@ -45,6 +45,8 @@ static void batch_perl_server (Gimp *gimp,
gint extra);
gchar **batch_cmds = NULL;
static ProcRecord *eval_proc = NULL;

View File

@ -64,26 +64,6 @@ static void gimp_show_help (const gchar *progname);
static void gimp_text_console_exit (gboolean fail);
/* command line options */
gboolean no_interface = FALSE;
gboolean no_data = FALSE;
gboolean no_splash = FALSE;
gboolean no_splash_image = FALSE;
gboolean be_verbose = FALSE;
gboolean use_shm = FALSE;
gboolean use_debug_handler = FALSE;
gboolean console_messages = FALSE;
gboolean restore_session = FALSE;
gboolean use_mmx = TRUE;
GimpStackTraceMode stack_trace_mode = GIMP_STACK_TRACE_QUERY;
gchar *alternate_gimprc = NULL;
gchar *alternate_system_gimprc = NULL;
gchar **batch_cmds = NULL;
/* other global variables */
gchar *prog_name = NULL; /* our executable name */
/*
* argv processing:
* Arguments are either switches, their associated