Fix for changes to draw_focus.

Fri Jan 18 18:14:11 2002  Owen Taylor  <otaylor@redhat.com>

        * src/pixbuf-draw.c (draw_focus): Fix for changes to draw_focus.
This commit is contained in:
Owen Taylor
2002-01-18 23:14:45 +00:00
committed by Owen Taylor
parent fc85da54ca
commit 3f100bb819
2 changed files with 6 additions and 7 deletions

View File

@@ -1,3 +1,7 @@
Fri Jan 18 18:14:11 2002 Owen Taylor <otaylor@redhat.com>
* src/pixbuf-draw.c (draw_focus): Fix for changes to draw_focus.
2001-09-21 Hans Breuer <hans@breuer.org>
* src/pixbuf-rc-style-c : GtkRcStyle::parse has a GtkSettings

View File

@@ -970,6 +970,7 @@ draw_extension (GtkStyle *style,
static void
draw_focus (GtkStyle *style,
GdkWindow *window,
GtkStateType state_type,
GdkRectangle *area,
GtkWidget *widget,
const gchar *detail,
@@ -983,19 +984,13 @@ draw_focus (GtkStyle *style,
g_return_if_fail(style != NULL);
g_return_if_fail(window != NULL);
/* Why? */
if (width >=0)
width++;
if (height >=0)
height++;
match_data.function = TOKEN_D_FOCUS;
match_data.detail = (gchar *)detail;
match_data.flags = 0;
if (!draw_simple_image (style, window, area, widget, &match_data, TRUE, FALSE,
x, y, width, height))
parent_class->draw_focus (style, window, area, widget, detail,
parent_class->draw_focus (style, window, state_type, area, widget, detail,
x, y, width, height);
}