diff options
author | Alexander Larsson <alexl@redhat.com> | 2008-12-15 15:04:44 +0100 |
---|---|---|
committer | Alexander Larsson <alex@localhost.localdomain> | 2009-04-02 10:15:15 +0200 |
commit | 0ba99e6e7b522973ab2721b13c9dd5c488eeeb66 (patch) | |
tree | 0fc1afe5deb225d3a2e8c4339b303721b445eed6 /gdk/gdkwindowimpl.h | |
parent | 36ce54878b7df02a7ff44e1f8d580cda051b0c12 (diff) | |
download | gtk+-0ba99e6e7b522973ab2721b13c9dd5c488eeeb66.tar.gz |
Make gdk_windowing_window_destroy a GdkWindowImpl method
Diffstat (limited to 'gdk/gdkwindowimpl.h')
-rw-r--r-- | gdk/gdkwindowimpl.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/gdk/gdkwindowimpl.h b/gdk/gdkwindowimpl.h index ad1f6206e3..eff05b9b75 100644 --- a/gdk/gdkwindowimpl.h +++ b/gdk/gdkwindowimpl.h @@ -112,7 +112,23 @@ struct _GdkWindowImplIface GdkRegion *area, gint dx, gint dy); - + +/* Called to do the windowing system specific part of gdk_window_destroy(), + * + * window: The window being destroyed + * recursing: If TRUE, then this is being called because a parent + * was destroyed. This generally means that the call to the windowing system + * to destroy the window can be omitted, since it will be destroyed as a result + * of the parent being destroyed. Unless @foreign_destroy + * + * foreign_destroy: If TRUE, the window or a parent was destroyed by some external + * agency. The window has already been destroyed and no windowing + * system calls should be made. (This may never happen for some + * windowing systems.) + */ + void (* destroy) (GdkWindow *window, + gboolean recursing, + gboolean foreign_destroy); }; /* Interface Functions */ |