[maemo-commits] [maemo-commits] r18334 - projects/haf/trunk/hildon-thumbnail/daemon
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Tue May 12 15:17:58 EEST 2009
- Previous message: [maemo-commits] r18333 - in projects/haf/branches/glib/glib-2-20/debian: . patches
- Next message: [maemo-commits] r18335 - projects/haf/branches/glib/glib-2-20/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: pvanhoof Date: 2009-05-12 15:17:53 +0300 (Tue, 12 May 2009) New Revision: 18334 Modified: projects/haf/trunk/hildon-thumbnail/daemon/hildon-thumbnail-daemon.c Log: lowmem is in bytes not megabytes Modified: projects/haf/trunk/hildon-thumbnail/daemon/hildon-thumbnail-daemon.c =================================================================== --- projects/haf/trunk/hildon-thumbnail/daemon/hildon-thumbnail-daemon.c 2009-05-12 12:02:12 UTC (rev 18333) +++ projects/haf/trunk/hildon-thumbnail/daemon/hildon-thumbnail-daemon.c 2009-05-12 12:17:53 UTC (rev 18334) @@ -491,7 +491,7 @@ #ifdef HAVE_OSSO lowmemlim = osso_mem_get_lowmem_limit (); - if (lowmemlim > 0 && lowmemlim < 512) { + if (lowmemlim > 0 && lowmemlim < 512 * 1024 * 1024) { if (0 == osso_mem_saw_enable(lowmemlim >> 3, 1024, thumbnailer_oom_func, NULL) ) { g_main_loop_run (main_loop); osso_mem_saw_disable();
- Previous message: [maemo-commits] r18333 - in projects/haf/branches/glib/glib-2-20/debian: . patches
- Next message: [maemo-commits] r18335 - projects/haf/branches/glib/glib-2-20/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]