summaryrefslogtreecommitdiff
path: root/gtk/gtkentry.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-05-30 20:40:28 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-05-30 20:40:28 +0000
commit27bf39f924eb1e9600d574e2f97f0fb0cc2e6495 (patch)
tree4ca99341dca29756863e53c3a1b0f4c2540c407b /gtk/gtkentry.h
parent811b03aef1456ce88499896fa0618e219fd533ae (diff)
downloadgtk+-27bf39f924eb1e9600d574e2f97f0fb0cc2e6495.tar.gz
Validate value from GDK settings against parameter spec.
Wed May 30 15:56:30 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtksettings.c (gtk_settings_get_property): Validate value from GDK settings against parameter spec. * gdk/x11/gdkevents-x11.c (gdk_setting_get): Add assignments to temporary values and use g_value_transform(), since thinking that GValue was going to be easy or efficient to use was, of course, a mistake. * gtk/gtksettings.c: Add cursor blink setting. * gdk/x11/gdkevents-x11.c: Add cursor blink X settings. * gtk/gtkentry.c: Add cursor blinking. * gtk/gtktextview.c (gtk_text_view_check_cursor_blink): Use cursor blink global settings. * gtk/gtkentry.c (gtk_entry_button_press): Add notification for :text_position in places where it is missing.
Diffstat (limited to 'gtk/gtkentry.h')
-rw-r--r--gtk/gtkentry.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h
index a35e2be3cd..efcf18d252 100644
--- a/gtk/gtkentry.h
+++ b/gtk/gtkentry.h
@@ -80,9 +80,11 @@ struct _GtkEntry
guint has_frame : 1;
guint activates_default : 1;
+
+ guint cursor_visible : 1;
guint button;
- guint timer;
+ guint blink_timeout;
guint recompute_idle;
gint scroll_offset;
gint ascent; /* font ascent, in pango units */