summaryrefslogtreecommitdiff
path: root/gtk/gtkmenu.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkmenu.h')
-rw-r--r--gtk/gtkmenu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkmenu.h b/gtk/gtkmenu.h
index a3d1db74f..5b046403e 100644
--- a/gtk/gtkmenu.h
+++ b/gtk/gtkmenu.h
@@ -58,6 +58,10 @@ struct _GtkMenu
GtkMenuPositionFunc position_func;
gpointer position_func_data;
+ /* Do _not_ touch these widgets directly. We hide the reference
+ * count from the toplevel to the menu, so it must be restored
+ * before operating on these widgets
+ */
GtkWidget *toplevel;
GtkWidget *tearoff_window;