aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-shell-component-client.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-04-04 01:26:54 +0800
committerDan Winship <danw@src.gnome.org>2001-04-04 01:26:54 +0800
commitf24a51e470f5de3beb16891d6e51ab4e4a228bed (patch)
treeb17777af1ecd36cee863667cd4e8ab302bfbe0ce /shell/evolution-shell-component-client.c
parent785567b9191e01e1875139c9d91a2c58f913af33 (diff)
downloadgsoc2013-evolution-f24a51e470f5de3beb16891d6e51ab4e4a228bed.tar
gsoc2013-evolution-f24a51e470f5de3beb16891d6e51ab4e4a228bed.tar.gz
gsoc2013-evolution-f24a51e470f5de3beb16891d6e51ab4e4a228bed.tar.bz2
gsoc2013-evolution-f24a51e470f5de3beb16891d6e51ab4e4a228bed.tar.lz
gsoc2013-evolution-f24a51e470f5de3beb16891d6e51ab4e4a228bed.tar.xz
gsoc2013-evolution-f24a51e470f5de3beb16891d6e51ab4e4a228bed.tar.zst
gsoc2013-evolution-f24a51e470f5de3beb16891d6e51ab4e4a228bed.zip
Don't declare debug_log as extern in evolution-shell-component-client.c,
* main.c: * evolution-shell-component-client.c: Don't declare debug_log as extern in evolution-shell-component-client.c, because that's part of libeshell and so gets linked into the other components. Instead, declare it there and extern it from main.c. (Noticed by Peter Williams) svn path=/trunk/; revision=9136
Diffstat (limited to 'shell/evolution-shell-component-client.c')
-rw-r--r--shell/evolution-shell-component-client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/evolution-shell-component-client.c b/shell/evolution-shell-component-client.c
index 1a4ba17916..c3fad4256a 100644
--- a/shell/evolution-shell-component-client.c
+++ b/shell/evolution-shell-component-client.c
@@ -38,7 +38,7 @@
#include "evolution-shell-component-client.h"
-extern char *debug_log;
+char *evolution_debug_log;
#define PARENT_TYPE BONOBO_OBJECT_CLIENT_TYPE
static BonoboObjectClass *parent_class = NULL;
@@ -473,8 +473,8 @@ evolution_shell_component_client_set_owner (EvolutionShellComponentClient *shell
result = corba_exception_to_result (&ev);
- if (result == EVOLUTION_SHELL_COMPONENT_OK && debug_log)
- GNOME_Evolution_ShellComponent_debug (bonobo_object_corba_objref (BONOBO_OBJECT (shell_component_client)), debug_log, &ev);
+ if (result == EVOLUTION_SHELL_COMPONENT_OK && evolution_debug_log)
+ GNOME_Evolution_ShellComponent_debug (bonobo_object_corba_objref (BONOBO_OBJECT (shell_component_client)), evolution_debug_log, &ev);
CORBA_exception_free (&ev);