[gtk+] Move destroy_foreign comment



commit b5df501296e01e406420f89602896d061fc59b6f
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Dec 10 21:55:41 2010 -0500

    Move destroy_foreign comment

 gdk/gdkwindowimpl.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdkwindowimpl.h b/gdk/gdkwindowimpl.h
index 35aad92..00ecedd 100644
--- a/gdk/gdkwindowimpl.h
+++ b/gdk/gdkwindowimpl.h
@@ -153,6 +153,12 @@ struct _GdkWindowImplClass
 					 gboolean         recursing,
 					 gboolean         foreign_destroy);
 
+
+ /* Called when gdk_window_destroy() is called on a foreign window
+  * or an ancestor of the foreign window. It should generally reparent
+  * the window out of it's current heirarchy, hide it, and then
+  * send a message to the owner requesting that the window be destroyed.
+  */
   void         (*destroy_foreign)       (GdkWindow       *window);
 
   cairo_surface_t * (* resize_cairo_surface) (GdkWindow       *window,



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