aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-05-15 23:57:34 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-05-15 23:57:34 +0800
commit4710bfbfe3add2a284be1dd63b805f170acc4cb7 (patch)
treeb526f617e1a7fee8c839b81e1d0b150f5341f5e2 /shell/main.c
parentdc63f2f76fec0d4a9015a154f75cb89a34367819 (diff)
downloadgsoc2013-evolution-4710bfbfe3add2a284be1dd63b805f170acc4cb7.tar.gz
gsoc2013-evolution-4710bfbfe3add2a284be1dd63b805f170acc4cb7.tar.zst
gsoc2013-evolution-4710bfbfe3add2a284be1dd63b805f170acc4cb7.zip
#ifdef'ed wombat killing code, depending on whether KILL_PROCESS_CMD is
2003-05-15 Rodrigo Moya <rodrigo@ximian.com> * main.c: #ifdef'ed wombat killing code, depending on whether KILL_PROCESS_CMD is defined or not. (kill_wombat): kill also the alarm daemon process. svn path=/trunk/; revision=21190
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/shell/main.c b/shell/main.c
index 37cb7cdc8b..02bc4818d6 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -171,6 +171,8 @@ shell_weak_notify (void *data,
}
+#ifdef KILL_PROCESS_CMD
+
static void
kill_wombat (void)
{
@@ -178,6 +180,9 @@ kill_wombat (void)
system (KILL_PROCESS_CMD " -9 lt-evolution-wombat 2> /dev/null");
system (KILL_PROCESS_CMD " -9 evolution-wombat 2> /dev/null");
+
+ system (KILL_PROCESS_CMD " -9 lt-evolution-alarm-notify 2> /dev/null");
+ system (KILL_PROCESS_CMD " -9 evolution-alarm-notify 2> /dev/null");
}
static void
@@ -216,6 +221,7 @@ kill_old_wombat (void)
CORBA_Object_release (iface, &ev);
CORBA_exception_free (&ev);
}
+#endif
/* Warning dialog to scare people off a little bit. */
@@ -350,7 +356,9 @@ idle_cb (void *data)
gboolean display_default;
gboolean displayed_any;
+#ifdef KILL_PROCESS_CMD
kill_old_wombat ();
+#endif
CORBA_exception_init (&ev);