r2057 - trunk/src/target/OM-2007/applications/openmoko-dialer/src

thomas at sita.openmoko.org thomas at sita.openmoko.org
Tue May 22 13:09:30 CEST 2007


Author: thomas
Date: 2007-05-22 13:09:29 +0200 (Tue, 22 May 2007)
New Revision: 2057

Modified:
   trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialer-main.c
Log:
openmoko-dialer: cancel the startup notification when signalling the existing
instance


Modified: trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialer-main.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialer-main.c	2007-05-22 09:26:10 UTC (rev 2056)
+++ trunk/src/target/OM-2007/applications/openmoko-dialer/src/dialer-main.c	2007-05-22 11:09:29 UTC (rev 2057)
@@ -162,6 +162,11 @@
   if (lockapp > 0)
   {
     kill (lockapp, SIGUSR1);
+
+    /* make sure startup notifaction is terminated */
+    gdk_init(&argc, &argv);
+    gdk_notify_startup_complete ();
+
     return 0;
   }
   setlock ("/tmp/dialer.lock");





More information about the commitlog mailing list