summaryrefslogtreecommitdiff
path: root/gtk/gtkdnd-quartz.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-03-01 05:58:37 +0100
committerJavier Jardón <jjardon@gnome.org>2010-03-01 05:59:23 +0100
commit64f526d34e1adc609944078e2fea38b2792f8230 (patch)
treef79fa9c66e01df80cc630354874fe30558509f8d /gtk/gtkdnd-quartz.c
parentf5bde06e82334995fca90ac6f103c8b2c7aa878a (diff)
downloadgtk+-64f526d34e1adc609944078e2fea38b2792f8230.tar.gz
Deprecate widget flag: GTK_WIDGET_SENSITIVE
Use gtk_widget_get_sensitive() instead https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'gtk/gtkdnd-quartz.c')
-rw-r--r--gtk/gtkdnd-quartz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkdnd-quartz.c b/gtk/gtkdnd-quartz.c
index 3d5a643ede..fe06230c59 100644
--- a/gtk/gtkdnd-quartz.c
+++ b/gtk/gtkdnd-quartz.c
@@ -667,7 +667,7 @@ gtk_drag_find_widget (GtkWidget *widget,
gint x_offset = 0;
gint y_offset = 0;
- if (data->found || !GTK_WIDGET_MAPPED (widget) || !GTK_WIDGET_SENSITIVE (widget))
+ if (data->found || !GTK_WIDGET_MAPPED (widget) || !gtk_widget_get_sensitive (widget))
return;
/* Note that in the following code, we only count the