[Xfce4-commits] <ristretto:ristretto-0.3> Fix compile-error with --enable-debug=full

Stephan Arts noreply at xfce.org
Sat Mar 10 22:40:01 CET 2012


Updating branch refs/heads/ristretto-0.3
         to 75e22df82d14684f6a3d6c1ceda8cae78bf881da (commit)
       from 68a8412d954d0b1aeca04cacfb3098d132bc8c0a (commit)

commit 75e22df82d14684f6a3d6c1ceda8cae78bf881da
Author: Stephan Arts <stephan at xfce.org>
Date:   Sat Mar 10 22:39:08 2012 +0100

    Fix compile-error with --enable-debug=full

 src/image_list.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/image_list.c b/src/image_list.c
index ddf6786..70772d8 100644
--- a/src/image_list.c
+++ b/src/image_list.c
@@ -374,9 +374,9 @@ rstto_image_list_remove_file (RsttoImageList *image_list, RsttoFile *file)
 {
     GSList *iter = NULL;
     RsttoFile *afile = NULL;
-    gint index = g_list_index (image_list->priv->images, file);
+    gint _index = g_list_index (image_list->priv->images, file);
 
-    if (index != -1)
+    if (_index != -1)
     {
 
         iter = image_list->priv->iterators;


More information about the Xfce4-commits mailing list