[maemo-commits] [maemo-commits] r18724 - projects/haf/trunk/maemo-launcher/launcher

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Jun 15 11:05:55 EEST 2009
Author: makarhun
Date: 2009-06-15 11:05:46 +0300 (Mon, 15 Jun 2009)
New Revision: 18724

Modified:
   projects/haf/trunk/maemo-launcher/launcher/comm_dbus.c
Log:
revert breaking dbus transaction

Modified: projects/haf/trunk/maemo-launcher/launcher/comm_dbus.c
===================================================================
--- projects/haf/trunk/maemo-launcher/launcher/comm_dbus.c	2009-06-15 06:27:44 UTC (rev 18723)
+++ projects/haf/trunk/maemo-launcher/launcher/comm_dbus.c	2009-06-15 08:05:46 UTC (rev 18724)
@@ -31,14 +31,10 @@
   DBusConnection *conn;
   DBusMessage *msg;
 
-  info("%s: %s pid %d\n", __FUNCTION__, filename, pid );
-
   conn = dbus_bus_get(DBUS_BUS_SESSION, NULL);
   if (conn == NULL)
     die(1, "%s: getting dbus bus\n", __FUNCTION__);
 
-  info("%s: bus %x\n", __FUNCTION__, conn);
-
   msg = dbus_message_new_signal(LAUNCHER_PATH,
 				LAUNCHER_IFACE,
 				LAUNCHER_SIGNAL_APP_DIED);
@@ -64,7 +60,6 @@
 void
 comm_send_app_died(char *filename, int pid, int status)
 {
-/*
   pid_t cpid;
 
   cpid = fork();
@@ -73,9 +68,7 @@
     comm_dbus_send_app_died(filename, pid, status);
     _exit(0);
   }
-  waitpid(pid);
-*/
-  comm_dbus_send_app_died(filename, pid, status);
+ // waitpid(pid);
 }
 
 #ifdef TEST

More information about the maemo-commits mailing list