[maemo-commits] [maemo-commits] r16547 - projects/haf/trunk/hildon-thumbnail/thumbs
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Oct 31 16:33:53 EET 2008
- Previous message: [maemo-commits] r16546 - projects/haf/trunk/hildon-thumbnail/thumbs
- Next message: [maemo-commits] r16548 - projects/haf/trunk/hildon-thumbnail/thumbs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: pvanhoof Date: 2008-10-31 16:33:52 +0200 (Fri, 31 Oct 2008) New Revision: 16547 Modified: projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-obj.c Log: Bugfixes Modified: projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-obj.c =================================================================== --- projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-obj.c 2008-10-31 14:28:49 UTC (rev 16546) +++ projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-obj.c 2008-10-31 14:33:52 UTC (rev 16547) @@ -389,7 +389,7 @@ HildonThumbnailRequestPrivate *r_priv = REQUEST_GET_PRIVATE (request); HildonThumbnailFactoryPrivate *f_priv = FACTORY_GET_PRIVATE (self); guint i; - gboolean have = FALSE; + gboolean have = TRUE; GStrv mime_types = NULL; hildon_thumbnail_util_get_thumb_paths (uri, &r_priv->paths[0], @@ -399,8 +399,10 @@ &r_priv->lpaths[1], &r_priv->lpaths[2]); - for (i = 0; i< 3 && !have; i++) - have = (g_file_test (r_priv->paths[i], G_FILE_TEST_EXISTS) || g_file_test (r_priv->lpaths[i], G_FILE_TEST_EXISTS)); + for (i = 0; i< 3 && have; i++) { + have = (g_file_test (r_priv->paths[i], G_FILE_TEST_EXISTS) || + g_file_test (r_priv->lpaths[i], G_FILE_TEST_EXISTS)); + } r_priv->uris = (GStrv) g_malloc0 (sizeof (gchar *) * 2); r_priv->uris[0] = g_strdup (uri);
- Previous message: [maemo-commits] r16546 - projects/haf/trunk/hildon-thumbnail/thumbs
- Next message: [maemo-commits] r16548 - projects/haf/trunk/hildon-thumbnail/thumbs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]