mirror of https://github.com/GNOME/gimp.git
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:
parent
74492a8852
commit
9aaf432daa
|
@ -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.
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
|
@ -45,6 +45,8 @@ static void batch_perl_server (Gimp *gimp,
|
|||
gint extra);
|
||||
|
||||
|
||||
gchar **batch_cmds = NULL;
|
||||
|
||||
static ProcRecord *eval_proc = NULL;
|
||||
|
||||
|
||||
|
|
20
app/main.c
20
app/main.c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue