From f642770fa5d2fbabb305fc817e4c6963cfc01d96 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 3 Aug 2005 15:53:37 +0000 Subject: No need to add focus_width to borders anymore. Now we get the same height 2005-08-03 Christian Persch * lib/widgets/ephy-icon-entry.c: (ephy_icon_entry_get_borders): No need to add focus_width to borders anymore. Now we get the same height as a normal entry. --- lib/widgets/ephy-icon-entry.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib') diff --git a/lib/widgets/ephy-icon-entry.c b/lib/widgets/ephy-icon-entry.c index 898b8cadb..1ab2dc0b6 100644 --- a/lib/widgets/ephy-icon-entry.c +++ b/lib/widgets/ephy-icon-entry.c @@ -75,12 +75,6 @@ ephy_icon_entry_get_borders (GtkWidget *widget, *xborder = entry->style->xthickness; *yborder = entry->style->ythickness; - /* While GtkEntry does this only when !interior-focus, we need this even - * with interior-focus, since otherwise we end up being too small. - */ - *xborder += focus_width; - *yborder += focus_width; - if (!interior_focus) { *xborder += focus_width; -- cgit v1.2.3