[maemo-commits] [maemo-commits] r16001 - in projects/haf/branches/hildon-thumbnail/daemonize: daemon tests

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Sep 3 19:46:01 EEST 2008
Author: pvanhoof
Date: 2008-09-03 19:45:59 +0300 (Wed, 03 Sep 2008)
New Revision: 16001

Modified:
   projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.c
   projects/haf/branches/hildon-thumbnail/daemonize/tests/daemon.c
Log:
Manging it work, finally

Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.c
===================================================================
--- projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.c	2008-09-03 16:35:45 UTC (rev 16000)
+++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/manager.c	2008-09-03 16:45:59 UTC (rev 16001)
@@ -122,8 +122,8 @@
 						THUMBNAILER_INTERFACE);
 
 	g_hash_table_insert (priv->handlers, 
-			     mime_type,
-			     mime_proxy);
+			     g_strdup (mime_type),
+			     g_object_ref (mime_proxy));
 
 	g_free (sender);
 

Modified: projects/haf/branches/hildon-thumbnail/daemonize/tests/daemon.c
===================================================================
--- projects/haf/branches/hildon-thumbnail/daemonize/tests/daemon.c	2008-09-03 16:35:45 UTC (rev 16000)
+++ projects/haf/branches/hildon-thumbnail/daemonize/tests/daemon.c	2008-09-03 16:45:59 UTC (rev 16001)
@@ -49,6 +49,8 @@
 		g_print ("Request for %s\n", uris[i]);
 		i++;
 	}
+
+	dbus_g_method_return (context);
 }
 
 #include "daemon-glue.h"


More information about the maemo-commits mailing list