[maemo-commits] [maemo-commits] r15966 - in projects/haf/branches/hildon-thumbnail/daemonize/daemon: . plugins
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Tue Sep 2 18:53:44 EEST 2008
- Previous message: [maemo-commits] r15965 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
- Next message: [maemo-commits] r15967 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: pvanhoof
Date: 2008-09-02 18:53:43 +0300 (Tue, 02 Sep 2008)
New Revision: 15966
Modified:
projects/haf/branches/hildon-thumbnail/daemonize/daemon/plugins/default.c
projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.c
Log:
And now making it actually work too
Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/plugins/default.c
===================================================================
--- projects/haf/branches/hildon-thumbnail/daemonize/daemon/plugins/default.c 2008-09-02 15:46:05 UTC (rev 15965)
+++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/plugins/default.c 2008-09-02 15:53:43 UTC (rev 15966)
@@ -17,6 +17,11 @@
void
hildon_thumbnail_plugin_create (GStrv uris, GError **error)
{
+ guint i = 0;
+ while (uris[i] != NULL) {
+ g_print ("%s\n", uris[i]);
+ i++;
+ }
return;
}
Modified: projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.c
===================================================================
--- projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.c 2008-09-02 15:46:05 UTC (rev 15965)
+++ projects/haf/branches/hildon-thumbnail/daemonize/daemon/thumbnailer.c 2008-09-02 15:53:43 UTC (rev 15966)
@@ -173,6 +173,7 @@
urls_for_mime = g_hash_table_lookup (hash, mime_type);
urls_for_mime = g_list_prepend (urls_for_mime, urls[i]);
g_hash_table_replace (hash, mime_type, urls_for_mime);
+ i++;
}
g_hash_table_iter_init (&iter, hash);
- Previous message: [maemo-commits] r15965 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
- Next message: [maemo-commits] r15967 - projects/haf/branches/hildon-thumbnail/daemonize/daemon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
