summaryrefslogtreecommitdiff
path: root/gtk/gtkinvisible.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 /gtk/gtkinvisible.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 'gtk/gtkinvisible.c')
-rw-r--r--gtk/gtkinvisible.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkinvisible.c b/gtk/gtkinvisible.c
index 0ca218dfa9..c24487cb53 100644
--- a/gtk/gtkinvisible.c
+++ b/gtk/gtkinvisible.c
@@ -218,7 +218,7 @@ gtk_invisible_realize (GtkWidget *widget)
GdkWindowAttr attributes;
gint attributes_mask;
- GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
+ gtk_widget_set_realized (widget, TRUE);
parent = gtk_widget_get_parent_window (widget);
if (parent == NULL)