[maemo-commits] [maemo-commits] r16426 - in projects/haf/trunk/hildon-thumbnail: albumart-providers/googleimages thumbs

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Oct 16 16:34:41 EEST 2008
Author: pvanhoof
Date: 2008-10-16 16:34:39 +0300 (Thu, 16 Oct 2008)
New Revision: 16426

Modified:
   projects/haf/trunk/hildon-thumbnail/albumart-providers/googleimages/Makefile.am
   projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c
Log:
Bugfixes

Modified: projects/haf/trunk/hildon-thumbnail/albumart-providers/googleimages/Makefile.am
===================================================================
--- projects/haf/trunk/hildon-thumbnail/albumart-providers/googleimages/Makefile.am	2008-10-16 13:15:44 UTC (rev 16425)
+++ projects/haf/trunk/hildon-thumbnail/albumart-providers/googleimages/Makefile.am	2008-10-16 13:34:39 UTC (rev 16426)
@@ -6,6 +6,9 @@
 
 NULL = 
 
+albartdowndir = /usr/share/albumart-providers
+albartdown_DATA = com.nokia.albumart.AlbumartProvider.GoogleImages.service
+
 BUILT_SOURCES = my.vala.stamp google-images-art-downloader.c \
 	google-images-art-downloader.h \
 	$(com.nokia.albumart.GoogleImages_service_DATA) \
@@ -41,10 +44,8 @@
 %.service: %.service.in
 	@sed -e "s|@libexecdir[@]|${libexecdir}|" $< > $@
 
-CLEANFILES = $(BUILT_SOURCES) \
-	$(com.nokia.albumart.GoogleImages_service_DATA) \
-	$(albartdown_DATA)
+# CLEANFILES = $(BUILT_SOURCES) \
+#	$(com.nokia.albumart.GoogleImages_service_DATA) \
+#	$(albartdown_DATA)
 
-albartdowndir = /usr/share/albumart-providers
-albartdown_DATA = com.nokia.albumart.AlbumartProvider.GoogleImages.service
 

Modified: projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c
===================================================================
--- projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c	2008-10-16 13:15:44 UTC (rev 16425)
+++ projects/haf/trunk/hildon-thumbnail/thumbs/hildon-thumbnail-factory.c	2008-10-16 13:34:39 UTC (rev 16426)
@@ -354,7 +354,6 @@
 				HildonThumbnailFlags flags, ...)
 {
 	gchar *large, *normal, *cropped;
-	GError *error = NULL;
 	ThumbsItem *item;
 	GStrv uris;
 	gboolean have_all = FALSE;
@@ -381,11 +380,6 @@
 		have_all = g_file_test (path, G_FILE_TEST_EXISTS);
 	}
 
-	if (error)
-		g_error_free (error);
-	else
-		have_all = FALSE;
-
 	item = g_new (ThumbsItem, 1);
 
 	item->uri = g_strdup(uri);


More information about the maemo-commits mailing list