summaryrefslogtreecommitdiff
path: root/gtk/gtkcheckbutton.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-09-11 01:30:27 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:11:42 +0200
commit1d3f6b30b0100c96adbca9acb6c6cd49b18d2298 (patch)
treed6e4290f60bc00d89f536694db04482071b4a8a2 /gtk/gtkcheckbutton.c
parent70e6aba0d04c1be1fa8087d972ff82c22e5b2d2b (diff)
downloadgtk+-1d3f6b30b0100c96adbca9acb6c6cd49b18d2298.tar.gz
API: Rename gtk_cairo_paint_*() to gtk_paint_*()
Large patch, but just renaming. Indentation should still mostly be correct because I took care of keeping the indentation for this function name.
Diffstat (limited to 'gtk/gtkcheckbutton.c')
-rw-r--r--gtk/gtkcheckbutton.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c
index d4d50d5749..1fdaa04a51 100644
--- a/gtk/gtkcheckbutton.c
+++ b/gtk/gtkcheckbutton.c
@@ -163,7 +163,7 @@ gtk_check_button_paint (GtkWidget *widget,
GtkAllocation child_allocation;
gtk_widget_get_allocation (child, &child_allocation);
- gtk_cairo_paint_focus (style, cr, state,
+ gtk_paint_focus (style, cr, state,
widget, "checkbutton",
child_allocation.x - allocation.x - focus_width - focus_pad,
child_allocation.y - allocation.y - focus_width - focus_pad,
@@ -172,7 +172,7 @@ gtk_check_button_paint (GtkWidget *widget,
}
else
{
- gtk_cairo_paint_focus (style, cr, state,
+ gtk_paint_focus (style, cr, state,
widget, "checkbutton",
border_width,
border_width,
@@ -420,7 +420,7 @@ gtk_real_check_button_draw_indicator (GtkCheckButton *check_button,
if (gtk_widget_get_state (widget) == GTK_STATE_PRELIGHT)
{
- gtk_cairo_paint_flat_box (style, cr, GTK_STATE_PRELIGHT,
+ gtk_paint_flat_box (style, cr, GTK_STATE_PRELIGHT,
GTK_SHADOW_ETCHED_OUT,
widget, "checkbutton",
border_width, border_width,
@@ -428,7 +428,7 @@ gtk_real_check_button_draw_indicator (GtkCheckButton *check_button,
allocation.height - (2 * border_width));
}
- gtk_cairo_paint_check (style, cr,
+ gtk_paint_check (style, cr,
state_type, shadow_type,
widget, "checkbutton",
x, y, indicator_size, indicator_size);