summaryrefslogtreecommitdiff
path: root/gtk/gtkmenushell.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/gtkmenushell.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/gtkmenushell.c')
-rw-r--r--gtk/gtkmenushell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmenushell.c b/gtk/gtkmenushell.c
index 4a86b20376..4788590700 100644
--- a/gtk/gtkmenushell.c
+++ b/gtk/gtkmenushell.c
@@ -513,7 +513,7 @@ gtk_menu_shell_realize (GtkWidget *widget)
GdkWindowAttr attributes;
gint attributes_mask;
- GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
+ gtk_widget_set_realized (widget, TRUE);
attributes.x = widget->allocation.x;
attributes.y = widget->allocation.y;