[Xfce4-commits] <ristretto:stephan/icon-bar> Remove unused variable

Stephan Arts noreply at xfce.org
Sun Jan 29 22:16:01 CET 2012


Updating branch refs/heads/stephan/icon-bar
         to b828d91b2aa900210cc132785b5ef63384e3492d (commit)
       from c5e2c0be911f9fcc4f83201848b1905f4b34b8b1 (commit)

commit b828d91b2aa900210cc132785b5ef63384e3492d
Author: Stephan Arts <stephan at xfce.org>
Date:   Sun Jan 29 16:24:10 2012 +0100

    Remove unused variable

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

diff --git a/src/image_list.c b/src/image_list.c
index 4fc7624..f82825e 100644
--- a/src/image_list.c
+++ b/src/image_list.c
@@ -530,6 +530,7 @@ static void
 rstto_image_list_remove_all (RsttoImageList *image_list)
 {
     GSList *iter = NULL;
+
     g_list_foreach (image_list->priv->images, (GFunc)g_object_unref, NULL);
     g_list_free (image_list->priv->images);
     image_list->priv->images = NULL;
@@ -1270,12 +1271,10 @@ image_list_model_get_path (
         GtkTreeIter *iter )
 {
     GtkTreePath *path = NULL;
-    RsttoFile   *file = NULL;
     gint pos;
 
     g_return_val_if_fail(RSTTO_IS_IMAGE_LIST(tree_model), NULL);
 
-    file = RSTTO_FILE (iter->user_data);
     pos = GPOINTER_TO_INT (iter->user_data3);
 
     path = gtk_tree_path_new();


More information about the Xfce4-commits mailing list