summaryrefslogtreecommitdiff
path: root/gtk/gtkhandlebox.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/gtkhandlebox.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/gtkhandlebox.c')
-rw-r--r--gtk/gtkhandlebox.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkhandlebox.c b/gtk/gtkhandlebox.c
index 4253fb50e3..099eff2cce 100644
--- a/gtk/gtkhandlebox.c
+++ b/gtk/gtkhandlebox.c
@@ -764,7 +764,7 @@ gtk_handle_box_draw_ghost (GtkHandleBox *hb,
window = gtk_widget_get_window (widget);
state = gtk_widget_get_state (widget);
- gtk_cairo_paint_shadow (style,
+ gtk_paint_shadow (style,
cr,
state,
GTK_SHADOW_ETCHED_IN,
@@ -775,7 +775,7 @@ gtk_handle_box_draw_ghost (GtkHandleBox *hb,
height);
if (handle_position == GTK_POS_LEFT ||
handle_position == GTK_POS_RIGHT)
- gtk_cairo_paint_hline (style,
+ gtk_paint_hline (style,
cr,
state,
widget, "handlebox",
@@ -783,7 +783,7 @@ gtk_handle_box_draw_ghost (GtkHandleBox *hb,
handle_position == GTK_POS_LEFT ? allocation_width : allocation_width - DRAG_HANDLE_SIZE,
allocation_height / 2);
else
- gtk_cairo_paint_vline (style,
+ gtk_paint_vline (style,
cr,
state,
widget, "handlebox",
@@ -936,7 +936,7 @@ gtk_handle_box_paint (GtkWidget *widget,
gdk_drawable_get_size (priv->bin_window, &width, &height);
- gtk_cairo_paint_box (gtk_widget_get_style (widget),
+ gtk_paint_box (gtk_widget_get_style (widget),
cr,
gtk_widget_get_state (widget),
priv->shadow_type,
@@ -978,7 +978,7 @@ gtk_handle_box_paint (GtkWidget *widget,
break;
}
- gtk_cairo_paint_handle (gtk_widget_get_style (widget), cr,
+ gtk_paint_handle (gtk_widget_get_style (widget), cr,
GTK_STATE_NORMAL, GTK_SHADOW_OUT,
widget, "handlebox",
rect.x, rect.y, rect.width, rect.height,