[Goodies-commits] r3275 - ristretto/trunk/src
Stephan Arts
stephan at xfce.org
Sat Sep 29 16:07:29 CEST 2007
Author: stephan
Date: 2007-09-29 14:07:29 +0000 (Sat, 29 Sep 2007)
New Revision: 3275
Modified:
ristretto/trunk/src/thumbnail_viewer.c
Log:
Fix offset issue with thumbnail viewer
Modified: ristretto/trunk/src/thumbnail_viewer.c
===================================================================
--- ristretto/trunk/src/thumbnail_viewer.c 2007-09-29 13:18:52 UTC (rev 3274)
+++ ristretto/trunk/src/thumbnail_viewer.c 2007-09-29 14:07:29 UTC (rev 3275)
@@ -265,7 +265,7 @@
if ((offset + ((viewer->priv->end + 1) * viewer->priv->dimension)) < widget->allocation.width)
{
gdk_window_clear_area(widget->window,
- offset + ((viewer->priv->end + 1) * viewer->priv->dimension),
+ offset + ((viewer->priv->end ) * viewer->priv->dimension),
0,
widget->allocation.width - (offset + (viewer->priv->end * viewer->priv->dimension)),
widget->allocation.height);
@@ -286,7 +286,7 @@
{
gdk_window_clear_area(widget->window,
0,
- offset + ((viewer->priv->end+1) * viewer->priv->dimension),
+ offset + ((viewer->priv->end) * viewer->priv->dimension),
widget->allocation.width,
widget->allocation.height - (offset + (viewer->priv->end * viewer->priv->dimension)));
}
More information about the Goodies-commits
mailing list