cheese r843 - in trunk: . src
- From: fargiolas svn gnome org
- To: svn-commits-list gnome org
- Subject: cheese r843 - in trunk: . src
- Date: Tue, 5 Aug 2008 13:52:36 +0000 (UTC)
Author: fargiolas
Date: Tue Aug 5 13:52:36 2008
New Revision: 843
URL: http://svn.gnome.org/viewvc/cheese?rev=843&view=rev
Log:
Free ThumbViewThreadData. Remove redundant setting for url and basename column.
Modified:
trunk/ChangeLog
trunk/src/cheese-thumb-view.c
Modified: trunk/src/cheese-thumb-view.c
==============================================================================
--- trunk/src/cheese-thumb-view.c (original)
+++ trunk/src/cheese-thumb-view.c Tue Aug 5 13:52:36 2008
@@ -91,7 +91,7 @@
GTimeVal mtime;
char *mime_type;
char *uri;
- char *filename, *basename;
+ char *filename;
info = g_file_query_info (file, "standard::content-type,time::modified", 0, NULL, NULL);
@@ -105,7 +105,6 @@
uri = g_file_get_uri (file);
filename = g_file_get_path (file);
- basename = g_path_get_basename (filename);
thumb_loc = gnome_thumbnail_factory_lookup (factory, uri, mtime.tv_sec);
@@ -156,17 +155,14 @@
gdk_threads_enter ();
gtk_list_store_set (priv->store, &iter,
- THUMBNAIL_PIXBUF_COLUMN, pixbuf,
- THUMBNAIL_URL_COLUMN, filename,
- THUMBNAIL_BASENAME_URL_COLUMN, basename, -1);
+ THUMBNAIL_PIXBUF_COLUMN, pixbuf, -1);
gdk_threads_leave ();
g_free (mime_type);
g_free (filename);
- g_free (basename);
-
g_object_unref (pixbuf);
+ g_free (item);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]