diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-04-12 17:48:09 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-04-26 21:07:20 +0200 |
commit | 45257e31c721d1ffbd2cdcfb25ae637d7e1e7b29 (patch) | |
tree | ae72b04505c84dba88c0874569ca5889b9438515 /gtk/gtkinvisible.c | |
parent | 560e426f16fc5a8a8eaaac2cf6feb85d26e69388 (diff) | |
download | gtk+-45257e31c721d1ffbd2cdcfb25ae637d7e1e7b29.tar.gz |
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_TOPLEVEL)
Introduce internal _gtk_widget_set_is_toplvel() for this
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614510
Diffstat (limited to 'gtk/gtkinvisible.c')
-rw-r--r-- | gtk/gtkinvisible.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkinvisible.c b/gtk/gtkinvisible.c index c24487cb53..8c0b3beb5e 100644 --- a/gtk/gtkinvisible.c +++ b/gtk/gtkinvisible.c @@ -95,7 +95,7 @@ gtk_invisible_init (GtkInvisible *invisible) GdkColormap *colormap; gtk_widget_set_has_window (GTK_WIDGET (invisible), TRUE); - GTK_WIDGET_SET_FLAGS (invisible, GTK_TOPLEVEL); + _gtk_widget_set_is_toplevel (GTK_WIDGET (invisible), TRUE); g_object_ref_sink (invisible); |