summaryrefslogtreecommitdiff
path: root/gtk/gtkrange.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/gtkrange.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/gtkrange.c')
-rw-r--r--gtk/gtkrange.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 08781f9fa5..80943053dc 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -1825,7 +1825,7 @@ draw_stepper (GtkRange *range,
style = gtk_widget_get_style (widget);
window = gtk_widget_get_window (widget);
- gtk_cairo_paint_box (style, cr,
+ gtk_paint_box (style, cr,
state_type, shadow_type,
widget,
gtk_range_get_stepper_detail (range, stepper),
@@ -1854,7 +1854,7 @@ draw_stepper (GtkRange *range,
arrow_y += arrow_displacement_y;
}
- gtk_cairo_paint_arrow (style, cr,
+ gtk_paint_arrow (style, cr,
state_type, shadow_type,
widget,
gtk_range_get_stepper_detail (range, stepper),
@@ -1986,7 +1986,7 @@ gtk_range_draw (GtkWidget *widget,
priv->slider.height / 2 -
y);
- gtk_cairo_paint_box (style, cr,
+ gtk_paint_box (style, cr,
sensitive ? GTK_STATE_ACTIVE : GTK_STATE_INSENSITIVE,
GTK_SHADOW_IN,
GTK_WIDGET (range),
@@ -1999,7 +1999,7 @@ gtk_range_draw (GtkWidget *widget,
else
trough_change_pos_x = 0;
- gtk_cairo_paint_box (style, cr,
+ gtk_paint_box (style, cr,
sensitive ? GTK_STATE_ACTIVE : GTK_STATE_INSENSITIVE,
GTK_SHADOW_IN,
GTK_WIDGET (range),
@@ -2058,7 +2058,7 @@ gtk_range_draw (GtkWidget *widget,
else
fill_detail = "trough-fill-level";
- gtk_cairo_paint_box (style, cr,
+ gtk_paint_box (style, cr,
sensitive ? GTK_STATE_ACTIVE : GTK_STATE_INSENSITIVE,
GTK_SHADOW_OUT,
GTK_WIDGET (range), fill_detail,
@@ -2067,7 +2067,7 @@ gtk_range_draw (GtkWidget *widget,
}
if (sensitive && gtk_widget_has_focus (widget))
- gtk_cairo_paint_focus (style, cr,
+ gtk_paint_focus (style, cr,
gtk_widget_get_state (widget),
widget, "trough",
priv->range_rect.x,
@@ -2098,7 +2098,7 @@ gtk_range_draw (GtkWidget *widget,
cairo_clip (cr);
{
- gtk_cairo_paint_slider (style,
+ gtk_paint_slider (style,
cr,
state,
shadow_type,