Tiny cleanup
parent
46b83186b4
commit
4bed4c2e25
|
@ -23,7 +23,7 @@
|
|||
#include <stdio.h>
|
||||
|
||||
|
||||
#define DEFAULT_NEW_INSTANCE 0
|
||||
#define DEFAULT_NEW_INSTANCE FALSE
|
||||
|
||||
|
||||
int _medit_parse_options (const char *const program_name,
|
||||
|
@ -74,7 +74,7 @@ main (int argc, char *argv[])
|
|||
char **files;
|
||||
gpointer window;
|
||||
int retval;
|
||||
gboolean new_instance;
|
||||
gboolean new_instance = DEFAULT_NEW_INSTANCE;
|
||||
|
||||
gtk_init (&argc, &argv);
|
||||
// gdk_window_set_debug_updates (TRUE);
|
||||
|
@ -110,12 +110,6 @@ main (int argc, char *argv[])
|
|||
new_instance = FALSE;
|
||||
else if (_medit_opt_new_app)
|
||||
new_instance = TRUE;
|
||||
else
|
||||
#if DEFAULT_NEW_INSTANCE
|
||||
new_instance = TRUE;
|
||||
#else
|
||||
new_instance = FALSE;
|
||||
#endif
|
||||
|
||||
files = moo_filenames_from_locale (argv + opt_remain);
|
||||
|
||||
|
|
Loading…
Reference in New Issue