[maemo-commits] [maemo-commits] r16066 - projects/haf/branches/hildon-thumbnail/daemonize/thumbs

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Sep 8 20:34:39 EEST 2008
Author: pvanhoof
Date: 2008-09-08 20:34:37 +0300 (Mon, 08 Sep 2008)
New Revision: 16066

Modified:
   projects/haf/branches/hildon-thumbnail/daemonize/thumbs/hildon-thumbnail-factory.c
Log:
API cleaning, and if we can't init, then what

Modified: projects/haf/branches/hildon-thumbnail/daemonize/thumbs/hildon-thumbnail-factory.c
===================================================================
--- projects/haf/branches/hildon-thumbnail/daemonize/thumbs/hildon-thumbnail-factory.c	2008-09-08 17:32:09 UTC (rev 16065)
+++ projects/haf/branches/hildon-thumbnail/daemonize/thumbs/hildon-thumbnail-factory.c	2008-09-08 17:34:37 UTC (rev 16066)
@@ -499,6 +499,12 @@
 		if (error) {
 			g_critical ("Can't initialize HildonThumbnailer: %s\n", error->message);
 			g_error_free (error);
+			g_hash_table_unref (tasks);
+			tasks = NULL;
+			connection = NULL;
+			had_init = FALSE;
+			abort ();
+			return;
 		}
 
 		proxy = dbus_g_proxy_new_for_name (connection, 


More information about the maemo-commits mailing list