[maemo-commits] [maemo-commits] r13106 - in projects/haf/tags/hildon-thumbnail/0.13: . debian thumbs

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Aug 10 15:19:50 EEST 2007
Author: kihamala
Date: 2007-08-10 15:19:47 +0300 (Fri, 10 Aug 2007)
New Revision: 13106

Modified:
   projects/haf/tags/hildon-thumbnail/0.13/ChangeLog
   projects/haf/tags/hildon-thumbnail/0.13/debian/changelog
   projects/haf/tags/hildon-thumbnail/0.13/thumbs/thumber-gdk-pixbuf.c
Log:
added Glib thread initialisation


Modified: projects/haf/tags/hildon-thumbnail/0.13/ChangeLog
===================================================================
--- projects/haf/tags/hildon-thumbnail/0.13/ChangeLog	2007-08-10 12:11:14 UTC (rev 13105)
+++ projects/haf/tags/hildon-thumbnail/0.13/ChangeLog	2007-08-10 12:19:47 UTC (rev 13106)
@@ -5,8 +5,8 @@
 	(create_thumb): Check OOM condition from the 'oom' variable.
 	Read four bytes at a time, in case it is more ARM-friendly.
 	(thumbnailer_oom_func): New.
-	(main): Register thumbnailer_oom_func as the OOM callback.
-	Fixes: NB#63712
+	(main): Register thumbnailer_oom_func as the OOM callback. Add Glib
+	thread initialisation. Fixes: NB#63712
 
 2006-10-13  Marius Vollmer  <marius.vollmer at nokia.com>
 

Modified: projects/haf/tags/hildon-thumbnail/0.13/debian/changelog
===================================================================
--- projects/haf/tags/hildon-thumbnail/0.13/debian/changelog	2007-08-10 12:11:14 UTC (rev 13105)
+++ projects/haf/tags/hildon-thumbnail/0.13/debian/changelog	2007-08-10 12:19:47 UTC (rev 13106)
@@ -1,3 +1,9 @@
+hildon-thumbnail (0.13) unstable; urgency=low
+
+  * Added Glib thread initialisation.
+
+ -- Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>  Fri, 10 Aug 2007 15:13:11 +0300
+
 hildon-thumbnail (0.12) unstable; urgency=low
 
   * Applied patch to use Libosso saw functions. Fixes: NB#63712

Modified: projects/haf/tags/hildon-thumbnail/0.13/thumbs/thumber-gdk-pixbuf.c
===================================================================
--- projects/haf/tags/hildon-thumbnail/0.13/thumbs/thumber-gdk-pixbuf.c	2007-08-10 12:11:14 UTC (rev 13105)
+++ projects/haf/tags/hildon-thumbnail/0.13/thumbs/thumber-gdk-pixbuf.c	2007-08-10 12:19:47 UTC (rev 13106)
@@ -230,6 +230,7 @@
     int result;
 
     setpriority(PRIO_PROCESS, getpid(), 10);
+    g_thread_init(NULL);
     result = osso_mem_saw_enable(4 << 20, 64, thumbnailer_oom_func, NULL);
     if (result != 0)
       ULOG_ERR_F("osso_mem_saw_enable failed with error %d", result);


More information about the maemo-commits mailing list