[Xfce4-commits] <xfce4-panel:devel> * Fix compiler warnings.

Nick Schermer nick at xfce.org
Tue Aug 11 20:24:42 CEST 2009


Updating branch refs/heads/devel
         to fdbdebe3feeaa20e070c682b1445438c92c9c9d1 (commit)
       from 94a125b781fa88e8a90fc70ef705fbbc68721d78 (commit)

commit fdbdebe3feeaa20e070c682b1445438c92c9c9d1
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Oct 9 21:05:10 2008 +0200

    * Fix compiler warnings.

 libxfce4panel/xfce-scaled-image.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libxfce4panel/xfce-scaled-image.c b/libxfce4panel/xfce-scaled-image.c
index 3465085..c1dc7e2 100644
--- a/libxfce4panel/xfce-scaled-image.c
+++ b/libxfce4panel/xfce-scaled-image.c
@@ -101,7 +101,7 @@ xfce_scaled_image_init (XfceScaledImage *image)
   image->pixbuf = NULL;
   image->icon_name = NULL;
   image->cache = NULL;
-  image->size = -1;
+  image->width = -1;
   image->height = -1;
 }
 
@@ -262,7 +262,7 @@ xfce_scaled_image_update_cache (XfceScaledImage *image)
       /* get a pixbuf from the icon name */
       pixbuf = gtk_icon_theme_load_icon (gtk_icon_theme_get_for_screen (screen),
                                          image->icon_name,
-                                         MIN (dest_width, dest_height),
+                                         MIN (image->width, image->height),
                                          0, NULL);
     }
     



More information about the Xfce4-commits mailing list