summaryrefslogtreecommitdiff
path: root/gtk/gtkcurve.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-02-27 05:24:24 +0100
committerJavier Jardón <jjardon@gnome.org>2010-03-01 05:32:51 +0100
commita27d5a2c9eba7af5b056de32ff9b2b4dd1eb97e1 (patch)
tree56f207c8731b36bdad916070df80fe2cea151039 /gtk/gtkcurve.c
parent4f78f70b15f861cca115f578b0f3f4ad3ad087e7 (diff)
downloadgtk+-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/gtkcurve.c')
-rw-r--r--gtk/gtkcurve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcurve.c b/gtk/gtkcurve.c
index e49e5ff8c9..e1304dbd52 100644
--- a/gtk/gtkcurve.c
+++ b/gtk/gtkcurve.c
@@ -380,7 +380,7 @@ gtk_curve_draw (GtkCurve *c, gint width, gint height)
gtk_curve_interpolate (c, width, height);
state = GTK_STATE_NORMAL;
- if (!GTK_WIDGET_IS_SENSITIVE (GTK_WIDGET (c)))
+ if (!gtk_widget_is_sensitive (GTK_WIDGET (c)))
state = GTK_STATE_INSENSITIVE;
style = GTK_WIDGET (c)->style;