diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-02-27 05:24:24 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-03-01 05:32:51 +0100 |
commit | a27d5a2c9eba7af5b056de32ff9b2b4dd1eb97e1 (patch) | |
tree | 56f207c8731b36bdad916070df80fe2cea151039 /gtk/gtkmenutoolbutton.c | |
parent | 4f78f70b15f861cca115f578b0f3f4ad3ad087e7 (diff) | |
download | gtk+-a27d5a2c9eba7af5b056de32ff9b2b4dd1eb97e1.tar.gz |
Deprecate widget flag: GTK_WIDGET_IS_SENSITIVE
Use gtk_widget_is_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'gtk/gtkmenutoolbutton.c')
-rw-r--r-- | gtk/gtkmenutoolbutton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmenutoolbutton.c b/gtk/gtkmenutoolbutton.c index c5e1c54b3b..0144409626 100644 --- a/gtk/gtkmenutoolbutton.c +++ b/gtk/gtkmenutoolbutton.c @@ -152,7 +152,7 @@ gtk_menu_tool_button_state_changed (GtkWidget *widget, GtkMenuToolButton *button = GTK_MENU_TOOL_BUTTON (widget); GtkMenuToolButtonPrivate *priv = button->priv; - if (!GTK_WIDGET_IS_SENSITIVE (widget) && priv->menu) + if (!gtk_widget_is_sensitive (widget) && priv->menu) { gtk_menu_shell_deactivate (GTK_MENU_SHELL (priv->menu)); } |