summaryrefslogtreecommitdiff
path: root/tests/gtkoffscreenbox.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-03-02 07:16:02 +0100
committerJavier Jardón <jjardon@gnome.org>2010-03-03 20:41:05 +0100
commit16a59ad9129c680833c584768e6a81b2ba365268 (patch)
tree8fb157b75372c73767d658bce9a6070a3d936fe9 /tests/gtkoffscreenbox.c
parent1fe7d3cefd1aeabd6d8cab2a68673bb1f7876988 (diff)
downloadgtk+-16a59ad9129c680833c584768e6a81b2ba365268.tar.gz
Deprecate widget flag: GTK_WIDGET_REALIZED
Use gtk_widget_get_realized() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'tests/gtkoffscreenbox.c')
-rw-r--r--tests/gtkoffscreenbox.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/gtkoffscreenbox.c b/tests/gtkoffscreenbox.c
index 83968ca75d..d29fead529 100644
--- a/tests/gtkoffscreenbox.c
+++ b/tests/gtkoffscreenbox.c
@@ -499,7 +499,7 @@ gtk_offscreen_box_size_allocate (GtkWidget *widget,
border_width = GTK_CONTAINER (widget)->border_width;
- if (GTK_WIDGET_REALIZED (widget))
+ if (gtk_widget_get_realized (widget))
gdk_window_move_resize (widget->window,
allocation->x + border_width,
allocation->y + border_width,
@@ -521,7 +521,7 @@ gtk_offscreen_box_size_allocate (GtkWidget *widget,
start_y += CHILD1_SIZE_SCALE * child_requisition.height;
- if (GTK_WIDGET_REALIZED (widget))
+ if (gtk_widget_get_realized (widget))
gdk_window_move_resize (offscreen_box->offscreen_window1,
child_allocation.x,
child_allocation.y,
@@ -545,7 +545,7 @@ gtk_offscreen_box_size_allocate (GtkWidget *widget,
start_y += CHILD2_SIZE_SCALE * child_requisition.height;
- if (GTK_WIDGET_REALIZED (widget))
+ if (gtk_widget_get_realized (widget))
gdk_window_move_resize (offscreen_box->offscreen_window2,
child_allocation.x,
child_allocation.y,