From c848fbbcfe7813b6347a00452a890aeb17e767bb Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Sun, 3 Mar 2002 19:59:29 +0000 Subject: Centralize lookup and caching of cursor GC's here. Sun Mar 3 14:26:33 2002 Owen Taylor * gtk/gtkstyle.[ch] (_gtk_get_insertion_cursor_gc): Centralize lookup and caching of cursor GC's here. * gtk/gtkentry.[ch] gtk/gtktextview.[ch] gtk/gtktextdisplay.c gtk/gtklabel.c: Move to using _gtk_get_insertion_cursor_gc(). * gtk/gtkentry.c (gtk_entry_expose): Draw cursors under the text, not over the text. * gtk/gtkwidget.c (gtk_widget_class_init): add a secondary-cursor-color property. * gtk/gtkwidget.c (gtk_widget_class_init): Decrease the default aspect ratio to 1/25 (0.04). * tests/testgtkrc (bell_duration): Comment out cursor color setting. --- gtk/gtktextview.h | 1 - 1 file changed, 1 deletion(-) (limited to 'gtk/gtktextview.h') diff --git a/gtk/gtktextview.h b/gtk/gtktextview.h index 5a50518c7e..ad8f6e1802 100644 --- a/gtk/gtktextview.h +++ b/gtk/gtktextview.h @@ -147,7 +147,6 @@ struct _GtkTextView GSList *children; GtkTextPendingScroll *pending_scroll; - GdkGC *cursor_gc; gint pending_place_cursor_button; }; -- cgit v1.2.1