From 2ff460a6c84c9e64a833bb335d0c843c89166625 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Wed, 11 Mar 1998 02:41:15 +0000 Subject: code and structure clean ups. fixed the tooltips flickering bug. Wed Mar 11 03:35:17 1998 Tim Janik * gtk/gtktooltips.h: * gtk/gtktooltips.c: code and structure clean ups. fixed the tooltips flickering bug. --- gtk/gtktooltips.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'gtk/gtktooltips.h') diff --git a/gtk/gtktooltips.h b/gtk/gtktooltips.h index 9220b53616..173ac18d07 100644 --- a/gtk/gtktooltips.h +++ b/gtk/gtktooltips.h @@ -50,17 +50,16 @@ struct _GtkTooltips GtkData data; GtkWidget *tip_window; - GtkTooltipsData *active_widget; - GList *widget_list; + GtkTooltipsData *active_tips_data; + GList *tips_data_list; GdkGC *gc; GdkColor *foreground; GdkColor *background; - gint16 delay; - gint enabled : 1; - gint timer_active : 1; - gint timer_tag; + guint delay : 30; + guint enabled : 1; + gint timer_tag; }; struct _GtkTooltipsClass @@ -74,7 +73,7 @@ GtkTooltips* gtk_tooltips_new (void); void gtk_tooltips_enable (GtkTooltips *tooltips); void gtk_tooltips_disable (GtkTooltips *tooltips); void gtk_tooltips_set_delay (GtkTooltips *tooltips, - gint delay); + guint delay); void gtk_tooltips_set_tip (GtkTooltips *tooltips, GtkWidget *widget, const gchar *tip_text, -- cgit v1.2.1