[Xfce4-commits] <tumbler:master> Remove redundant tumbler_file_info_load() check.

Jannis Pohlmann noreply at xfce.org
Tue Dec 8 23:24:01 CET 2009


Updating branch refs/heads/master
         to 86f3fb88231069b8b9f153332f6286c47c713c48 (commit)
       from 7785ba1a34edb3d2d594bf2e2b498af3e9c56f60 (commit)

commit 86f3fb88231069b8b9f153332f6286c47c713c48
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Tue Dec 8 18:33:27 2009 +0100

    Remove redundant tumbler_file_info_load() check.

 plugins/pixbuf-thumbnailer/pixbuf-thumbnailer.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/plugins/pixbuf-thumbnailer/pixbuf-thumbnailer.c b/plugins/pixbuf-thumbnailer/pixbuf-thumbnailer.c
index 390d590..c9f0134 100644
--- a/plugins/pixbuf-thumbnailer/pixbuf-thumbnailer.c
+++ b/plugins/pixbuf-thumbnailer/pixbuf-thumbnailer.c
@@ -157,15 +157,6 @@ pixbuf_thumbnailer_create (TumblerAbstractThumbnailer *thumbnailer,
 
   uri = tumbler_file_info_get_uri (info);
 
-  /* try to load the file information */
-  if (!tumbler_file_info_load (info, NULL, &error))
-    {
-      g_signal_emit_by_name (thumbnailer, "error", uri, error->code, error->message);
-      g_error_free (error);
-      g_object_unref (info);
-      return;
-    }
-
   /* try to open the source file for reading */
   file = g_file_new_for_uri (uri);
   stream = g_file_read (file, NULL, &error);



More information about the Xfce4-commits mailing list