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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Sep 15 20:20:36 EEST 2008
Author: pvanhoof
Date: 2008-09-15 20:20:33 +0300 (Mon, 15 Sep 2008)
New Revision: 16123

Modified:
   projects/haf/branches/hildon-thumbnail/daemonize/daemon/hildon-thumbnail-daemon.c
Log:
Little oeps

Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/hildon-thumbnail-daemon.c
===================================================================
--- projects/haf/branches/hildon-thumbnail/daemonize/daemon/hildon-thumbnail-daemon.c	2008-09-15 17:18:47 UTC (rev 16122)
+++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/hildon-thumbnail-daemon.c	2008-09-15 17:20:33 UTC (rev 16123)
@@ -118,11 +118,12 @@
 		  g_dir_close (dir);
 		}
 
+		main_loop = g_main_loop_new (NULL, FALSE);
+
 		g_timeout_add_seconds (600, 
 				       shut_down_after_timeout,
 				       main_loop);
 
-		main_loop = g_main_loop_new (NULL, FALSE);
 		g_main_loop_run (main_loop);
 
 		g_hash_table_iter_init (&iter, registrations);


More information about the maemo-commits mailing list