[gtk+/gdk-backend] Move destroy_foreign comment



commit cdc3d372f0ce3cd99aac444b7e4d43ee0e9b3602
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 9775fed..2b96aa5 100644
--- a/gdk/gdkwindowimpl.h
+++ b/gdk/gdkwindowimpl.h
@@ -154,6 +154,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]