summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-08-15 19:38:32 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:03:00 +0200
commitac48f2330df7b367e5afc12947bf9de8d10b3a89 (patch)
tree2921fbd1e5cf8e4673724430e931397dd053d633 /gtk/gtkstyle.h
parent3d340d744933891f5bfeb14324689f62115ba210 (diff)
downloadgtk+-ac48f2330df7b367e5afc12947bf9de8d10b3a89.tar.gz
API: Add gtk_cairo_draw_insertion_cursor()
For now just add it instead of replacing the current function. In the end, this one should probably be renamed to gtk_draw_insertion_cursor() and the current gtk_draw_insertion_cursor() should die.
Diffstat (limited to 'gtk/gtkstyle.h')
-rw-r--r--gtk/gtkstyle.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkstyle.h b/gtk/gtkstyle.h
index f0946e7f2d..f1c8399b35 100644
--- a/gtk/gtkstyle.h
+++ b/gtk/gtkstyle.h
@@ -900,6 +900,12 @@ void gtk_draw_insertion_cursor (GtkWidget *widget,
gboolean is_primary,
GtkTextDirection direction,
gboolean draw_arrow);
+void gtk_cairo_draw_insertion_cursor (GtkWidget *widget,
+ cairo_t *cr,
+ const GdkRectangle *location,
+ gboolean is_primary,
+ GtkTextDirection direction,
+ gboolean draw_arrow);
void _gtk_widget_get_cursor_color (GtkWidget *widget,
GdkColor *color);