[Goodies-commits] r3016 - ristretto/trunk/src

Stephan Arts stephan at xfce.org
Mon Aug 20 11:09:52 CEST 2007


Author: stephan
Date: 2007-08-20 09:09:52 +0000 (Mon, 20 Aug 2007)
New Revision: 3016

Modified:
   ristretto/trunk/src/navigator.c
Log:
fix thumbnail-cache

Modified: ristretto/trunk/src/navigator.c
===================================================================
--- ristretto/trunk/src/navigator.c	2007-08-20 09:05:32 UTC (rev 3015)
+++ ristretto/trunk/src/navigator.c	2007-08-20 09:09:52 UTC (rev 3016)
@@ -396,7 +396,7 @@
 {
     if(entry->thumb)    
     {
-        if(gdk_pixbuf_get_width(entry->thumb) != size || gdk_pixbuf_get_height(entry->thumb) != size)
+        if(!(gdk_pixbuf_get_width(entry->thumb) == size || gdk_pixbuf_get_height(entry->thumb) == size))
         {
             g_object_unref(entry->thumb);
             gchar *filename = thunar_vfs_path_dup_string(entry->info->path);




More information about the Goodies-commits mailing list