[Xfce4-commits] <ristretto:master> Fix Bug #8097 - Prevent thumbnails from disappearing.
Stephan Arts
noreply at xfce.org
Thu Nov 3 10:46:01 CET 2011
Updating branch refs/heads/master
to 986ca3d80cca5a4874d7350cab6210a26a9ed943 (commit)
from 014836cf2bb2f4c60d50ac27d0e0a12a28b3d7f4 (commit)
commit 986ca3d80cca5a4874d7350cab6210a26a9ed943
Author: Stephan Arts <stephan at xfce.org>
Date: Thu Nov 3 10:40:19 2011 +0100
Fix Bug #8097 - Prevent thumbnails from disappearing.
src/thumbnail_bar.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/thumbnail_bar.c b/src/thumbnail_bar.c
index 6633355..b1c11f7 100644
--- a/src/thumbnail_bar.c
+++ b/src/thumbnail_bar.c
@@ -807,7 +807,7 @@ cb_rstto_thumbnail_bar_scroll_event (RsttoThumbnailBar *bar,
thumb_size = GTK_WIDGET(bar->priv->thumbs->data)->allocation.width;
for (thumb = bar->priv->thumbs; thumb != NULL; thumb = g_list_next(thumb))
{
- size += thumb_size * g_list_length (bar->priv->thumbs);
+ size += GTK_WIDGET(thumb->data)->allocation.width;
if (g_list_next (thumb))
size += spacing;
}
More information about the Xfce4-commits
mailing list