summaryrefslogtreecommitdiff
path: root/tests/gtkoffscreenbox.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-03-06 11:51:33 +0100
committerJavier Jardón <jjardon@gnome.org>2010-03-06 11:51:33 +0100
commit1934de4b652e96af40db796191aff72dfdfd6b82 (patch)
treee50bfe9619a7d6c829d34d5bfe0678f09c4b2639 /tests/gtkoffscreenbox.c
parent24bafd8693e88b9b1635bbd6d1401ceb68ca7809 (diff)
downloadgtk+-1934de4b652e96af40db796191aff72dfdfd6b82.tar.gz
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_REALIZED)
Use new API instead: gtk_widget_set_realized () https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'tests/gtkoffscreenbox.c')
-rw-r--r--tests/gtkoffscreenbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gtkoffscreenbox.c b/tests/gtkoffscreenbox.c
index 760810ceb8..b6caa14c8b 100644
--- a/tests/gtkoffscreenbox.c
+++ b/tests/gtkoffscreenbox.c
@@ -238,7 +238,7 @@ gtk_offscreen_box_realize (GtkWidget *widget)
GtkRequisition child_requisition;
int start_y = 0;
- GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
+ gtk_widget_set_realized (widget, TRUE);
border_width = GTK_CONTAINER (widget)->border_width;