libgimp/gimpgradientselectbutton.c libgimp/gimpmenu.c

2008-06-28  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpgradientselectbutton.c
	* libgimp/gimpmenu.c
	* libgimpwidgets/gimpbrowser.c
	* libgimpwidgets/gimpcellrenderercolor.c
	* libgimpwidgets/gimpcellrenderertoggle.c
	* libgimpwidgets/gimpchainbutton.c
	* libgimpwidgets/gimpcolorarea.c
	* libgimpwidgets/gimpcolorscale.c
	* libgimpwidgets/gimpcolorscales.c
	* libgimpwidgets/gimpcolorselect.c
	* libgimpwidgets/gimpenumwidgets.c
	* libgimpwidgets/gimpframe.c
	* libgimpwidgets/gimphelpui.c
	* libgimpwidgets/gimpoffsetarea.c
	* libgimpwidgets/gimppreviewarea.c
	* libgimpwidgets/gimppropwidgets.c
	* libgimpwidgets/gimpscrolledpreview.c: use accessors instead of
	accessing members of GTK+ widgets directly.


svn path=/trunk/; revision=26005
This commit is contained in:
Michael Natterer
2008-06-28 15:09:46 +00:00
committed by Michael Natterer
parent 29754a4cff
commit 58cfcd4f57
18 changed files with 162 additions and 109 deletions

View File

@ -443,7 +443,8 @@ gimp_chain_line_expose_event (GtkWidget *widget,
points[2] = buf;
}
gtk_paint_polygon (widget->style, widget->window, GTK_STATE_NORMAL,
gtk_paint_polygon (gtk_widget_get_style (widget),
widget->window, GTK_STATE_NORMAL,
shadow,
&event->area,
widget,