summaryrefslogtreecommitdiff
path: root/gtk/gtkwindow.h
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2009-01-23 05:57:36 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2009-01-23 05:57:36 +0000
commit4569b49bedfc4f42188a6d16f053a343867ee7af (patch)
tree7fcfc6e5af1c4319e236ece170818003684b292c /gtk/gtkwindow.h
parent5c99971a6715cfcf4c79394932f0a011d1eef14b (diff)
downloadgtk+-4569b49bedfc4f42188a6d16f053a343867ee7af.tar.gz
Keep GtkPlug in sync with the global list of toplevels.
Patch by Federico Mena Quintero * gtk/gtkwindow.h: * gtk/gtkwindow.c (_gtk_window_set_is_toplevel): New internal function used when a GtkPlug parents/unparents itself by an in-process GtkSocket. This keeps the plug's GTK_TOPLEVEL flag in sync with the global toplevel_list. * gtk/gtkplug.c (gtk_plug_set_is_child): Call _gtk_window_set_is_toplevel() to keep the toplevel list updated, instead of just setting/unsetting the GTK_TOPLEVEL flag. svn path=/trunk/; revision=22191
Diffstat (limited to 'gtk/gtkwindow.h')
-rw-r--r--gtk/gtkwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkwindow.h b/gtk/gtkwindow.h
index e166befc89..243dbdc6bd 100644
--- a/gtk/gtkwindow.h
+++ b/gtk/gtkwindow.h
@@ -420,6 +420,9 @@ void _gtk_window_unset_focus_and_default (GtkWindow *window,
void _gtk_window_set_is_active (GtkWindow *window,
gboolean is_active);
+void _gtk_window_set_is_toplevel (GtkWindow *window,
+ gboolean is_toplevel);
+
typedef void (*GtkWindowKeysForeachFunc) (GtkWindow *window,
guint keyval,
GdkModifierType modifiers,