diff options
author | Michael Natterer <mitch@imendio.com> | 2007-01-18 17:30:10 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2007-01-18 17:30:10 +0000 |
commit | 42debff10ddeb2976bbbfa0d688f46766b209bb6 (patch) | |
tree | 4c5d7de6d24d7ea2b2812c0494bba683f9c63ff6 /gtk/gtkcheckbutton.c | |
parent | 0ca6367b936938325331b48e3382fc29e6926394 (diff) | |
download | gtk+-42debff10ddeb2976bbbfa0d688f46766b209bb6.tar.gz |
gtk/gtkcheckbutton.c gtk/gtkdnd.c gtk/gtkentry.c gtk/gtkmenu.c
2007-01-18 Michael Natterer <mitch@imendio.com>
* gtk/gtkcheckbutton.c
* gtk/gtkdnd.c
* gtk/gtkentry.c
* gtk/gtkmenu.c
* gtk/gtktreeview.c
* gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
functions. Based on a patch from maemo-gtk (bug #398023).
svn path=/trunk/; revision=17183
Diffstat (limited to 'gtk/gtkcheckbutton.c')
-rw-r--r-- | gtk/gtkcheckbutton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c index 6899a50440..46146983e8 100644 --- a/gtk/gtkcheckbutton.c +++ b/gtk/gtkcheckbutton.c @@ -155,14 +155,14 @@ gtk_check_button_paint (GtkWidget *widget, if (interior_focus && child && GTK_WIDGET_VISIBLE (child)) gtk_paint_focus (widget->style, widget->window, GTK_WIDGET_STATE (widget), - NULL, widget, "checkbutton", + area, widget, "checkbutton", child->allocation.x - focus_width - focus_pad, child->allocation.y - focus_width - focus_pad, child->allocation.width + 2 * (focus_width + focus_pad), child->allocation.height + 2 * (focus_width + focus_pad)); else gtk_paint_focus (widget->style, widget->window, GTK_WIDGET_STATE (widget), - NULL, widget, "checkbutton", + area, widget, "checkbutton", border_width + widget->allocation.x, border_width + widget->allocation.y, widget->allocation.width - 2 * border_width, |