[Xfce4-commits] [apps/ristretto] 01/01: Fix thumbnails bar scrolling
noreply at xfce.org
noreply at xfce.org
Fri Sep 30 14:22:46 CEST 2016
This is an automated email from the git hooks/post-receive script.
f2404 pushed a commit to branch master
in repository apps/ristretto.
commit b99503ddae485b6eef662185389cf4e47f6b8a57
Author: Igor <f2404 at yandex.ru>
Date: Fri Sep 30 15:22:40 2016 +0300
Fix thumbnails bar scrolling
---
src/icon_bar.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/icon_bar.c b/src/icon_bar.c
index 958ad3b..e131241 100644
--- a/src/icon_bar.c
+++ b/src/icon_bar.c
@@ -800,12 +800,12 @@ rstto_icon_bar_size_allocate (
if (icon_bar->priv->orientation == GTK_ORIENTATION_VERTICAL)
{
value = gtk_adjustment_get_value (icon_bar->priv->vadjustment);
- value /= gtk_adjustment_get_upper (icon_bar->priv->vadjustment) * MAX (allocation->height, icon_bar->priv->height);
+ value = value / gtk_adjustment_get_upper (icon_bar->priv->vadjustment) * MAX (allocation->height, icon_bar->priv->height);
}
else
{
value = gtk_adjustment_get_value (icon_bar->priv->hadjustment);
- value /= gtk_adjustment_get_upper (icon_bar->priv->hadjustment) * MAX (allocation->width, icon_bar->priv->width);
+ value = value / gtk_adjustment_get_upper (icon_bar->priv->hadjustment) * MAX (allocation->width, icon_bar->priv->width);
}
gtk_adjustment_set_page_size (icon_bar->priv->hadjustment, allocation->width);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list