summaryrefslogtreecommitdiff
path: root/gtk/gtkoffscreenwindow.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-09-18 19:57:32 -0400
committerMatthias Clasen <mclasen@redhat.com>2010-09-26 22:18:19 -0400
commitf53ad339941a6cab1468eef279bd518992ae68bc (patch)
treee459767bbc1eb9cd30ae0ced0422eabbff5809a3 /gtk/gtkoffscreenwindow.c
parenteac1959d2c843dfc55353ffc89c16b74cb26e9bc (diff)
downloadgtk+-f53ad339941a6cab1468eef279bd518992ae68bc.tar.gz
Remove GtkObject completely
Diffstat (limited to 'gtk/gtkoffscreenwindow.c')
-rw-r--r--gtk/gtkoffscreenwindow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkoffscreenwindow.c b/gtk/gtkoffscreenwindow.c
index 9c0552a641..2ff6a54368 100644
--- a/gtk/gtkoffscreenwindow.c
+++ b/gtk/gtkoffscreenwindow.c
@@ -194,7 +194,7 @@ gtk_offscreen_window_show (GtkWidget *widget)
gboolean need_resize;
GtkContainer *container;
- GTK_WIDGET_SET_FLAGS (widget, GTK_VISIBLE);
+ _gtk_widget_set_visible_flag (widget, TRUE);
container = GTK_CONTAINER (widget);
need_resize = _gtk_container_get_need_resize (container) || !gtk_widget_get_realized (widget);
@@ -213,7 +213,7 @@ gtk_offscreen_window_show (GtkWidget *widget)
static void
gtk_offscreen_window_hide (GtkWidget *widget)
{
- GTK_WIDGET_UNSET_FLAGS (widget, GTK_VISIBLE);
+ _gtk_widget_set_visible_flag (widget, FALSE);
gtk_widget_unmap (widget);
}