[Xfce4-commits] <ristretto:master> Re-enable the close_all feature of the image_list.

Stephan Arts noreply at xfce.org
Sun Aug 28 09:30:03 CEST 2011


Updating branch refs/heads/master
         to 216b407e4eb348adaae6f0d16668773bb62b53ad (commit)
       from c325153c4a293d662cd6c2c6d3985a8c37d39db5 (commit)

commit 216b407e4eb348adaae6f0d16668773bb62b53ad
Author: Stephan Arts <stephan at xfce.org>
Date:   Sun Aug 28 09:28:29 2011 +0200

    Re-enable the close_all feature of the image_list.

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

diff --git a/src/image_list.c b/src/image_list.c
index fbb5925..8f85d7a 100644
--- a/src/image_list.c
+++ b/src/image_list.c
@@ -298,7 +298,6 @@ rstto_image_list_remove_file (RsttoImageList *image_list, GFile *file)
 void
 rstto_image_list_remove_all (RsttoImageList *image_list)
 {
-#if 0
     GSList *iter = NULL;
     g_list_foreach (image_list->priv->images, (GFunc)g_object_unref, NULL);
     g_list_free (image_list->priv->images);
@@ -311,7 +310,6 @@ rstto_image_list_remove_all (RsttoImageList *image_list)
         iter = g_slist_next (iter);
     }
     g_signal_emit (G_OBJECT (image_list), rstto_image_list_signals[RSTTO_IMAGE_LIST_SIGNAL_REMOVE_ALL], 0, NULL);
-#endif
 }
 
 


More information about the Xfce4-commits mailing list