diff options
author | Benjamin Otte <otte@redhat.com> | 2010-09-11 01:30:27 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-09-26 15:11:42 +0200 |
commit | 1d3f6b30b0100c96adbca9acb6c6cd49b18d2298 (patch) | |
tree | d6e4290f60bc00d89f536694db04482071b4a8a2 /gtk/gtktearoffmenuitem.c | |
parent | 70e6aba0d04c1be1fa8087d972ff82c22e5b2d2b (diff) | |
download | gtk+-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/gtktearoffmenuitem.c')
-rw-r--r-- | gtk/gtktearoffmenuitem.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtktearoffmenuitem.c b/gtk/gtktearoffmenuitem.c index ce1ab376e3..8ff3f8069c 100644 --- a/gtk/gtktearoffmenuitem.c +++ b/gtk/gtktearoffmenuitem.c @@ -147,7 +147,7 @@ gtk_tearoff_menu_item_draw (GtkWidget *widget, gtk_widget_style_get (widget, "selected-shadow-type", &selected_shadow_type, NULL); - gtk_cairo_paint_box (style, + gtk_paint_box (style, cr, GTK_STATE_PRELIGHT, selected_shadow_type, @@ -191,7 +191,7 @@ gtk_tearoff_menu_item_draw (GtkWidget *widget, } - gtk_cairo_paint_arrow (style, cr, + gtk_paint_arrow (style, cr, state, shadow_type, widget, "tearoffmenuitem", arrow_type, FALSE, @@ -212,7 +212,7 @@ gtk_tearoff_menu_item_draw (GtkWidget *widget, x2 = MAX (right_max - x - TEAR_LENGTH, 0); } - gtk_cairo_paint_hline (style, cr, GTK_STATE_NORMAL, + gtk_paint_hline (style, cr, GTK_STATE_NORMAL, widget, "tearoffmenuitem", x1, x2, y + (height - style->ythickness) / 2); x += 2 * TEAR_LENGTH; |