[Xfce4-commits] <ristretto:master> Emit the 'iter-changed' signal when the image-list is empty.
Stephan Arts
noreply at xfce.org
Sat Aug 6 12:06:01 CEST 2011
Updating branch refs/heads/master
to 4a55b2e637d3fa83188a4a4952486ed9eb3c0af0 (commit)
from fe0cfb8bad39a9ceda5357b53c30668e0896c4d3 (commit)
commit 4a55b2e637d3fa83188a4a4952486ed9eb3c0af0
Author: Stephan Arts <stephan at xfce.org>
Date: Sat Aug 6 12:01:26 2011 +0200
Emit the 'iter-changed' signal when the image-list is empty.
src/image_list.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/image_list.c b/src/image_list.c
index 7f7af18..1344f3c 100644
--- a/src/image_list.c
+++ b/src/image_list.c
@@ -269,6 +269,7 @@ rstto_image_list_remove_image (RsttoImageList *image_list, RsttoImage *image)
if (rstto_image_list_iter_get_image (iter->data) == image)
{
((RsttoImageListIter *)(iter->data))->priv->image = NULL;
+ g_signal_emit (G_OBJECT (iter->data), rstto_image_list_iter_signals[RSTTO_IMAGE_LIST_ITER_SIGNAL_CHANGED], 0, NULL);
}
}
iter = g_slist_next (iter);
More information about the Xfce4-commits
mailing list