From 27bf39f924eb1e9600d574e2f97f0fb0cc2e6495 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Wed, 30 May 2001 20:40:28 +0000 Subject: Validate value from GDK settings against parameter spec. Wed May 30 15:56:30 2001 Owen Taylor * 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. --- gtk/gtkentry.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gtk/gtkentry.h') 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 */ -- cgit v1.2.1