summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-12-10 21:55:41 -0500
committerMatthias Clasen <mclasen@redhat.com>2010-12-21 12:06:57 -0500
commitb5df501296e01e406420f89602896d061fc59b6f (patch)
treee2d00ba7d68ce25e1a88895fb8e2da003a4f2c9d /gdk
parent218fa6757a2f51c9aeb8181c02dc79e014aecf7c (diff)
downloadgtk+-b5df501296e01e406420f89602896d061fc59b6f.tar.gz
Move destroy_foreign comment
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdkwindowimpl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdk/gdkwindowimpl.h b/gdk/gdkwindowimpl.h
index 35aad9231d..00ecedd81f 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,