summaryrefslogtreecommitdiff
path: root/gtk/gtktooltips.h
diff options
context:
space:
mode:
authorTim Janik <timj@gimp.org>1998-03-11 02:41:15 +0000
committerTim Janik <timj@src.gnome.org>1998-03-11 02:41:15 +0000
commit2ff460a6c84c9e64a833bb335d0c843c89166625 (patch)
tree3d0eea9f2e24a60804c5f4a4a7ceb2a6b5a6ee15 /gtk/gtktooltips.h
parent3573f8b5f396da37ae948e58a44e4fef6186f64d (diff)
downloadgdk-pixbuf-2ff460a6c84c9e64a833bb335d0c843c89166625.tar.gz
code and structure clean ups. fixed the tooltips flickering bug.
Wed Mar 11 03:35:17 1998 Tim Janik <timj@gimp.org> * gtk/gtktooltips.h: * gtk/gtktooltips.c: code and structure clean ups. fixed the tooltips flickering bug.
Diffstat (limited to 'gtk/gtktooltips.h')
-rw-r--r--gtk/gtktooltips.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/gtk/gtktooltips.h b/gtk/gtktooltips.h
index 9220b5361..173ac18d0 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,