From 06745bc0aadf04a17d9433e0c150eb5f91d1adb5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 7 Dec 2014 18:12:46 -0500 Subject: [PATCH] Add a note to the ::destroy docs Clarify that ::destroy is not suitable for saving widget state. https://bugzilla.gnome.org/show_bug.cgi?id=710793 --- gtk/gtkwidget.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index af5f74c5e4..515f1af43e 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -1657,6 +1657,8 @@ G_GNUC_END_IGNORE_DEPRECATIONS * Signals that all holders of a reference to the widget should release * the reference that they hold. May result in finalization of the widget * if all references are released. + * + * This signal is not suitable for saving widget state. */ widget_signals[DESTROY] = g_signal_new (I_("destroy"),