]> Pileus Git - ~andy/gtk/commit
Keep GtkPlug in sync with the global list of toplevels.
authorMatthias Clasen <matthiasc@src.gnome.org>
Fri, 23 Jan 2009 05:57:36 +0000 (05:57 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 23 Jan 2009 05:57:36 +0000 (05:57 +0000)
commit4569b49bedfc4f42188a6d16f053a343867ee7af
tree7fcfc6e5af1c4319e236ece170818003684b292c
parent5c99971a6715cfcf4c79394932f0a011d1eef14b
    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
ChangeLog
gtk/gtkplug.c
gtk/gtkwindow.c
gtk/gtkwindow.h