[gtk+/gdk-backend: 34/91] Move destroy_foreign comment
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gdk-backend: 34/91] Move destroy_foreign comment
- Date: Sat, 18 Dec 2010 01:08:40 +0000 (UTC)
commit 8b8a49b0542f5ba0ab17785fbe2e021e3b8fec09
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]