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

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


Updating branch refs/heads/master
         to 503eac46504877d9114aabe0115e54ac754eb2de (commit)
       from 7cb75bbe8c7d27d8286b8f2da8e019d51dced5ad (commit)

commit 503eac46504877d9114aabe0115e54ac754eb2de
Author: Stephan Arts <stephan at xfce.org>
Date:   Sat Mar 10 22:42:01 2012 +0100

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

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

diff --git a/src/image_list.c b/src/image_list.c
index 2d0b446..569dd3a 100644
--- a/src/image_list.c
+++ b/src/image_list.c
@@ -519,9 +519,9 @@ rstto_image_list_remove_file (RsttoImageList *image_list, RsttoFile *file)
     GSList *iter = NULL;
     RsttoFile *afile = NULL;
     GtkTreePath *path_ = 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;
@@ -552,7 +552,7 @@ rstto_image_list_remove_file (RsttoImageList *image_list, RsttoFile *file)
         }
 
         path_ = gtk_tree_path_new();
-        gtk_tree_path_append_index(path_,index);
+        gtk_tree_path_append_index(path_,index_);
 
         gtk_tree_model_row_deleted(GTK_TREE_MODEL(image_list), path_);
 


More information about the Xfce4-commits mailing list