diff options
author | JP Rosevear <jpr@novell.com> | 2005-03-21 21:57:38 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2005-03-21 21:57:38 +0800 |
commit | c71a5eab3d678e6ff332c9b6a565627ba8113ecd (patch) | |
tree | 4f2efa16d4b4987f68f8c64229ece777bbcde657 /shell | |
parent | e9a265f68515eb3545d32fce66e4a3b270d51e84 (diff) | |
download | gsoc2013-evolution-c71a5eab3d678e6ff332c9b6a565627ba8113ecd.tar gsoc2013-evolution-c71a5eab3d678e6ff332c9b6a565627ba8113ecd.tar.gz gsoc2013-evolution-c71a5eab3d678e6ff332c9b6a565627ba8113ecd.tar.bz2 gsoc2013-evolution-c71a5eab3d678e6ff332c9b6a565627ba8113ecd.tar.lz gsoc2013-evolution-c71a5eab3d678e6ff332c9b6a565627ba8113ecd.tar.xz gsoc2013-evolution-c71a5eab3d678e6ff332c9b6a565627ba8113ecd.tar.zst gsoc2013-evolution-c71a5eab3d678e6ff332c9b6a565627ba8113ecd.zip |
switch #ifdef DEVELOPMENT to #if DEVELOPMENT so the configure.in foo
2005-03-21 JP Rosevear <jpr@novell.com>
* main.c: switch #ifdef DEVELOPMENT to #if DEVELOPMENT so the
configure.in foo actually controls this
svn path=/trunk/; revision=29070
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/main.c | 16 |
2 files changed, 11 insertions, 10 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 02ee25ddb1..a30a60f9b7 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2005-03-21 JP Rosevear <jpr@novell.com> + + * main.c: switch #ifdef DEVELOPMENT to #if DEVELOPMENT so the + configure.in foo actually controls this + 2005-03-17 Not Zed <NotZed@Ximian.com> * es-event.h: fix the qualifier bit assignments for the STATE target. diff --git a/shell/main.c b/shell/main.c index ea8a4e974b..c74a4c732c 100644 --- a/shell/main.c +++ b/shell/main.c @@ -89,10 +89,6 @@ #include "e-util/e-plugin-mono.h" #endif -#ifndef DEVELOPMENT -#define DEVELOPMENT (1) -#endif - static EShell *shell = NULL; /* Command-line options. */ @@ -100,7 +96,7 @@ static gboolean start_online = FALSE; static gboolean start_offline = FALSE; static gboolean setup_only = FALSE; static gboolean killev = FALSE; -#ifdef DEVELOPMENT +#if DEVELOPMENT static gboolean force_migrate = FALSE; #endif #ifdef ENABLE_MONO @@ -182,7 +178,7 @@ kill_old_dataserver (void) #endif -#ifdef DEVELOPMENT +#if DEVELOPMENT /* Warning dialog to scare people off a little bit. */ @@ -480,7 +476,7 @@ main (int argc, char **argv) { "force-shutdown", '\0', POPT_ARG_NONE, &killev, 0, N_("Forcibly shut down all Evolution components"), NULL }, #endif -#ifdef DEVELOPMENT +#if DEVELOPMENT { "force-migrate", '\0', POPT_ARG_NONE, &force_migrate, 0, N_("Forcibly re-migrate from Evolution 1.4"), NULL }, #endif @@ -496,7 +492,7 @@ main (int argc, char **argv) &setup_only, 0, NULL, NULL }, { NULL, '\0', 0, NULL, 0, NULL, NULL } }; -#ifdef DEVELOPMENT +#if DEVELOPMENT GConfClient *client; gboolean skip_warning_dialog; #endif @@ -533,7 +529,7 @@ main (int argc, char **argv) exit (0); } -#ifdef DEVELOPMENT +#if DEVELOPMENT if (force_migrate) { destroy_config (); } @@ -600,7 +596,7 @@ main (int argc, char **argv) e_plugin_load_plugins(); } -#ifdef DEVELOPMENT +#if DEVELOPMENT client = gconf_client_get_default (); skip_warning_dialog = gconf_client_get_bool (client, "/apps/evolution/shell/skip_warning_dialog", NULL); g_object_unref (client); |