[maemo-commits] [maemo-commits] r13096 - projects/haf/tags/hildon-thumbnail/0.12/thumbs
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Aug 10 12:40:34 EEST 2007
- Previous message: [maemo-commits] r13095 - in projects/haf/trunk/hildon-desktop: . libhildondesktop
- Next message: [maemo-commits] r13097 - in projects/haf/tags/hildon-thumbnail/0.12: . debian thumbs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: kihamala
Date: 2007-08-10 12:40:33 +0300 (Fri, 10 Aug 2007)
New Revision: 13096
Modified:
projects/haf/tags/hildon-thumbnail/0.12/thumbs/thumber-common.c
Log:
removed some commented code
Modified: projects/haf/tags/hildon-thumbnail/0.12/thumbs/thumber-common.c
===================================================================
--- projects/haf/tags/hildon-thumbnail/0.12/thumbs/thumber-common.c 2007-08-10 09:25:15 UTC (rev 13095)
+++ projects/haf/tags/hildon-thumbnail/0.12/thumbs/thumber-common.c 2007-08-10 09:40:33 UTC (rev 13096)
@@ -53,7 +53,6 @@
guint width, height;
HildonThumbnailFlags flags;
gchar *uri, *file, *mime_type, *local_file;
- //gchar *fail_file, *final_file;
time_t mtime = 0;
GdkPixbuf *pixbuf;
@@ -61,7 +60,6 @@
GError *error = NULL;
int status = 0;
- //const char *meta;
gchar **keys = NULL, **values = NULL;
argc = *argc_p;
@@ -94,14 +92,7 @@
local_file = gnome_vfs_get_local_path_from_uri(uri);
- //if(gnome_vfs_uri_is_local(vfs_uri)) {
if(local_file && strlen(local_file)) {
- /*
- if(!local_file || strlen(local_file) == 0) {
- g_warning("Failed to get local file for uri: %s", uri);
- return 4;
- }
- */
mtime = get_file_mtime(local_file);
} else {
gchar *file_uri;
@@ -128,8 +119,6 @@
gnome_vfs_uri_unref(vfs_uri);
- //g_message("thumber from %s to %s", local_file, file);
-
pixbuf = create_thumb(local_file, mime_type,
width, height, flags, &keys, &values, &error);
@@ -149,8 +138,6 @@
if(keys) g_strfreev(keys);
if(values) g_strfreev(values);
- //g_message("Saved %s to %s", uri, final_file);
-
gdk_pixbuf_unref(pixbuf);
g_free(local_file);
- Previous message: [maemo-commits] r13095 - in projects/haf/trunk/hildon-desktop: . libhildondesktop
- Next message: [maemo-commits] r13097 - in projects/haf/tags/hildon-thumbnail/0.12: . debian thumbs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
