[maemo-commits] [maemo-commits] r15957 - projects/haf/branches/hildon-thumbnail/daemonize/daemon

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Sep 2 17:59:40 EEST 2008
Author: pvanhoof
Date: 2008-09-02 17:59:37 +0300 (Tue, 02 Sep 2008)
New Revision: 15957

Modified:
   projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.c
Log:
Added some comments

Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.c
===================================================================
--- projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.c	2008-09-02 14:56:37 UTC (rev 15956)
+++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.c	2008-09-02 14:59:37 UTC (rev 15957)
@@ -190,6 +190,8 @@
 			info->context = context;
 			info->proxy = proxy;
 
+			// This shouldn't return per group (it will in the callback)
+
 			dbus_g_proxy_begin_call (proxy, "Create",
 						 (DBusGProxyCallNotify) on_create_finished, 
 						 info,
@@ -200,10 +202,13 @@
 		} else {
 			GModule *module = g_hash_table_lookup (priv->plugins, key);
 			if (module) {
+				// This shouldn't return per group (it will in the callback)
+
 				hildon_thumbnail_plugin_do_create (module, urlss, 
 								   (create_cb) on_plugin_finished, 
 								   context);
 			} else {
+				// This shouldn't return per group
 				GError *error = NULL;
 				g_set_error (&error,
 					     DBUS_ERROR, 0,
@@ -212,6 +217,8 @@
 				g_clear_error (&error);
 			}
 		}
+
+		strfreev (urls);
 	}
 
 	g_hash_table_unref (hash);


More information about the maemo-commits mailing list