summaryrefslogtreecommitdiff
path: root/gtk/gtkmenuitem.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-03-06 11:29:31 +0100
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-04-03 20:59:02 -0400
commite2f79c33ff9dd1c726966cc069e06578a1e38fad (patch)
treead6380c1018e97db676ecf3caf7640826a61199c /gtk/gtkmenuitem.c
parente5aca4ac884478a3f7658171c5add9acfe794392 (diff)
downloadgtk+-e2f79c33ff9dd1c726966cc069e06578a1e38fad.tar.gz
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_NO_WINDOW)
Use new API instead: gtk_widget_set_has_window () https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'gtk/gtkmenuitem.c')
-rw-r--r--gtk/gtkmenuitem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmenuitem.c b/gtk/gtkmenuitem.c
index b45c964930..4b26231441 100644
--- a/gtk/gtkmenuitem.c
+++ b/gtk/gtkmenuitem.c
@@ -392,7 +392,7 @@ gtk_menu_item_init (GtkMenuItem *menu_item)
{
GtkMenuItemPrivate *priv = GET_PRIVATE (menu_item);
- GTK_WIDGET_SET_FLAGS (menu_item, GTK_NO_WINDOW);
+ gtk_widget_set_has_window (GTK_WIDGET (menu_item), FALSE);
priv->action = NULL;
priv->use_action_appearance = TRUE;