summaryrefslogtreecommitdiff
path: root/gtk/gtktooltips.h
diff options
context:
space:
mode:
authorSven Neumann <sven@gimp.org>2007-06-19 15:08:11 +0000
committerSven Neumann <neo@src.gnome.org>2007-06-19 15:08:11 +0000
commit5de66ab18dd60b2b6f9e95521f41f0df19af31b1 (patch)
tree0e8d37abc342681e88380c2bb80170c56997ebd9 /gtk/gtktooltips.h
parent60a409785facbef5ba61c0bb1e396ec027e02bbc (diff)
downloadgtk+-5de66ab18dd60b2b6f9e95521f41f0df19af31b1.tar.gz
mark the GtkTooltips struct as private. Keep the tooltips in a hash table
2007-06-19 Sven Neumann <sven@gimp.org> * gtk/gtktooltips.[ch]: mark the GtkTooltips struct as private. Keep the tooltips in a hash table instead of a linked list. Improves performance when using large amounts of tooltips (#447214). * README.in: document the GtkTooltips changes. svn path=/trunk/; revision=18188
Diffstat (limited to 'gtk/gtktooltips.h')
-rw-r--r--gtk/gtktooltips.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtktooltips.h b/gtk/gtktooltips.h
index 75692cb5d0..49dbcbfe47 100644
--- a/gtk/gtktooltips.h
+++ b/gtk/gtktooltips.h
@@ -57,10 +57,11 @@ struct _GtkTooltips
{
GtkObject parent_instance;
+ /*< private >*/
GtkWidget *tip_window;
GtkWidget *tip_label;
GtkTooltipsData *active_tips_data;
- GList *tips_data_list;
+ GList *_tips_data_list; /* unused */
guint delay : 30;
guint enabled : 1;