summaryrefslogtreecommitdiff
path: root/gtk/gtkframe.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/gtkframe.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/gtkframe.c')
-rw-r--r--gtk/gtkframe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c
index 02dc7041f5..5a8d20bd90 100644
--- a/gtk/gtkframe.c
+++ b/gtk/gtkframe.c
@@ -617,12 +617,12 @@ gtk_frame_draw (GtkWidget *widget,
x2 = style->xthickness + (priv->child_allocation.width - priv->label_allocation.width - 2 * LABEL_PAD - 2 * LABEL_SIDE_PAD) * xalign + LABEL_SIDE_PAD;
/* If the label is completely over or under the frame we can omit the gap */
if (priv->label_yalign == 0.0 || priv->label_yalign == 1.0)
- gtk_cairo_paint_shadow (style, cr,
+ gtk_paint_shadow (style, cr,
state, priv->shadow_type,
widget, "frame",
x, y, width, height);
else
- gtk_cairo_paint_shadow_gap (style, cr,
+ gtk_paint_shadow_gap (style, cr,
state, priv->shadow_type,
widget, "frame",
x, y, width, height,
@@ -630,7 +630,7 @@ gtk_frame_draw (GtkWidget *widget,
x2, priv->label_allocation.width + 2 * LABEL_PAD);
}
else
- gtk_cairo_paint_shadow (style, cr,
+ gtk_paint_shadow (style, cr,
state, priv->shadow_type,
widget, "frame",
x, y, width, height);