diff options
author | Alexander Larsson <alexl@redhat.com> | 2012-02-20 12:11:18 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2012-02-20 12:12:05 +0100 |
commit | 8e4b17738e51b0faa062cf430ca9a56695d87f19 (patch) | |
tree | 98615a5c58ef9f9c706ef89f587c2b2f4a94771f /gtk | |
parent | e6a8beba9de045a4697de9d4fd64822311cec7b0 (diff) | |
download | gtk+-8e4b17738e51b0faa062cf430ca9a56695d87f19.tar.gz |
Fix padding handling in GtkViewport
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkviewport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkviewport.c b/gtk/gtkviewport.c index 6476988beb..2b0e2851af 100644 --- a/gtk/gtkviewport.c +++ b/gtk/gtkviewport.c @@ -343,7 +343,7 @@ viewport_get_view_allocation (GtkViewport *viewport, } view_allocation->x += padding.left; - view_allocation->y += padding.right; + view_allocation->y += padding.top; view_allocation->width = MAX (1, allocation.width - padding.left - padding.right - border_width * 2); view_allocation->height = MAX (1, allocation.height - padding.top - padding.bottom - border_width * 2); |