[gthumb] histogram: fixed the size of the inner allocation



commit e5e47c930c86597b00200b2e7da135e67be00045
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Fri Nov 4 15:36:38 2011 +0100

    histogram: fixed the size of the inner allocation
    
    removed an extra pixel from the width

 gthumb/gth-histogram-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gthumb/gth-histogram-view.c b/gthumb/gth-histogram-view.c
index 7be9451..afc8b9d 100644
--- a/gthumb/gth-histogram-view.c
+++ b/gthumb/gth-histogram-view.c
@@ -580,7 +580,7 @@ histogram_view_draw_cb (GtkWidget *widget,
 
 		inner_allocation.x = padding.left;
 		inner_allocation.y = padding.top;
-		inner_allocation.width = allocation.width - (padding.right + padding.left) + 1;
+		inner_allocation.width = allocation.width - (padding.right + padding.left);
 		inner_allocation.height = allocation.height - (padding.top + padding.bottom);
 
 		if ((self->priv->selection_start > 0) || (self->priv->selection_end < 255))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]