From 0a1b17b1b9fe724e0010effd191713b647947480 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 3 Mar 2008 22:45:45 +0000 Subject: Move the call to set_paths() on Windows earlier before gnome_program_init() so that it affects gconfd-2. svn path=/trunk/; revision=35130 --- shell/main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'shell') diff --git a/shell/main.c b/shell/main.c index 1ef3104506..f2fe0b6a99 100644 --- a/shell/main.c +++ b/shell/main.c @@ -680,6 +680,10 @@ main (int argc, char **argv) g_option_context_set_translation_domain(context, GETTEXT_PACKAGE); +#ifdef G_OS_WIN32 + set_paths (); +#endif + program = gnome_program_init (PACKAGE, VERSION, LIBGNOMEUI_MODULE, argc, argv, GNOME_PROGRAM_STANDARD_PROPERTIES, GNOME_PARAM_GOPTION_CONTEXT, context, @@ -701,10 +705,6 @@ main (int argc, char **argv) exit (0); } -#ifdef G_OS_WIN32 - set_paths (); -#endif - client = gconf_client_get_default (); #if DEVELOPMENT -- cgit