[gtk+] Add a note to the ::destroy docs



commit 06745bc0aadf04a17d9433e0c150eb5f91d1adb5
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Dec 7 18:12:46 2014 -0500

    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 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index af5f74c..515f1af 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"),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]