entry: fix progressbar area size for interior-focus = FALSE

No need to subtract focus line width again, since the progressbar is
rendered starting at (0, 0).
This also fixes the entry-progressbar-coloring reftest.
This commit is contained in:
Cosimo Cecchi 2012-02-21 12:07:36 +01:00
parent 49674d92f9
commit 925c800e5d

View File

@ -3540,12 +3540,6 @@ get_progress_area (GtkWidget *widget,
*width = text_area_width + entry_borders.left + entry_borders.right;
*height = text_area_height + entry_borders.top + entry_borders.bottom;
if (!private->interior_focus)
{
*x -= private->focus_width;
*y -= private->focus_width;
}
/* if the text area got resized by a subclass, subtract the left/right
* border width, so that the progress bar won't extend over the resized
* text area.