From 8f5c2c76253447124abc6cf33b69ad53492f6184 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Thu, 14 Feb 2002 21:49:02 +0000 Subject: Patch from Bill Haneman and Padraig O'Briain to add cursor_aspect_ratio Thu Feb 14 16:46:48 2002 Owen Taylor * gtk/gtkentry.c gtk/gtktextdisplay.c gtk/gtklabel.c gtk/gtkstyle.[ch] gtk/gtkwidget.c: Patch from Bill Haneman and Padraig O'Briain to add cursor_aspect_ratio style property to GtkWidget to allow theming the aspect ratio of the cursor. * gtk/gtkentry.c gtk/gtktextview.c gtk/gtklabel.c gtk/gtkwidget.c tests/testgtkrc: Move cursor-color style property to GtkWidget. --- gtk/gtktextdisplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtktextdisplay.c') diff --git a/gtk/gtktextdisplay.c b/gtk/gtktextdisplay.c index fd5a9d137e..b3acdab830 100644 --- a/gtk/gtktextdisplay.c +++ b/gtk/gtktextdisplay.c @@ -859,7 +859,7 @@ gtk_text_layout_draw (GtkTextLayout *layout, cursor_location.height = cursor->height; gdk_gc_set_clip_rectangle(gc, &clip); - _gtk_draw_insertion_cursor (drawable, gc, &cursor_location, dir); + _gtk_draw_insertion_cursor (widget, drawable, gc, &cursor_location, dir); gdk_gc_set_clip_rectangle (gc, NULL); cursor_list = cursor_list->next; -- cgit v1.2.1