summaryrefslogtreecommitdiff
path: root/gtk/gtktextdisplay.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-02-14 21:49:02 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-02-14 21:49:02 +0000
commit8f5c2c76253447124abc6cf33b69ad53492f6184 (patch)
treeebf719a9dc960ad37d81f4e94f1dfebcd5e9a2a3 /gtk/gtktextdisplay.c
parentf412d947c5162435f899dc9e5751a67a924e2fe6 (diff)
downloadgdk-pixbuf-8f5c2c76253447124abc6cf33b69ad53492f6184.tar.gz
Patch from Bill Haneman and Padraig O'Briain to add cursor_aspect_ratio
Thu Feb 14 16:46:48 2002 Owen Taylor <otaylor@redhat.com> * 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.
Diffstat (limited to 'gtk/gtktextdisplay.c')
-rw-r--r--gtk/gtktextdisplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextdisplay.c b/gtk/gtktextdisplay.c
index fd5a9d137..b3acdab83 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;