[maemo-commits] [maemo-commits] r16731 - projects/haf/trunk/hildon-thumbnail/daemon/plugins

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Nov 18 14:23:48 EET 2008
Author: pvanhoof
Date: 2008-11-18 14:23:47 +0200 (Tue, 18 Nov 2008)
New Revision: 16731

Modified:
   projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-png-out-plugin.c
Log:
Forgot about cropped

Modified: projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-png-out-plugin.c
===================================================================
--- projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-png-out-plugin.c	2008-11-18 12:21:03 UTC (rev 16730)
+++ projects/haf/trunk/hildon-thumbnail/daemon/plugins/gdkpixbuf-png-out-plugin.c	2008-11-18 12:23:47 UTC (rev 16731)
@@ -179,6 +179,15 @@
 		g_dir_close (dir);
 	}
 	g_free (dirname);
+
+	dirname = g_build_filename (g_get_home_dir (), ".thumbnails", "cropped", NULL);
+	dir = g_dir_open (dirname, 0, NULL);
+	if (dir) {
+		cleanup (dir, dirname, uri_match, max_mtime);
+		g_dir_close (dir);
+	}
+	g_free (dirname);
+
 }
 
 gboolean


More information about the maemo-commits mailing list