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 /modules | |
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 'modules')
-rw-r--r-- | modules/other/gail/gailbutton.c | 4 | ||||
-rw-r--r-- | modules/other/gail/gailexpander.c | 4 | ||||
-rw-r--r-- | modules/other/gail/gailscalebutton.c | 2 | ||||
-rw-r--r-- | modules/other/gail/gailwidget.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/modules/other/gail/gailbutton.c b/modules/other/gail/gailbutton.c index 2c72d2f183..d4fcf4dc87 100644 --- a/modules/other/gail/gailbutton.c +++ b/modules/other/gail/gailbutton.c @@ -459,7 +459,7 @@ gail_button_do_action (AtkAction *action, */ return FALSE; - if (!GTK_WIDGET_IS_SENSITIVE (widget) || !GTK_WIDGET_VISIBLE (widget)) + if (!gtk_widget_is_sensitive (widget) || !GTK_WIDGET_VISIBLE (widget)) return FALSE; button = GAIL_BUTTON (action); @@ -505,7 +505,7 @@ idle_do_action (gpointer data) g_object_ref (gail_button); if (widget == NULL /* State is defunct */ || - !GTK_WIDGET_IS_SENSITIVE (widget) || !GTK_WIDGET_VISIBLE (widget)) + !gtk_widget_is_sensitive (widget) || !GTK_WIDGET_VISIBLE (widget)) { g_object_unref (gail_button); return FALSE; diff --git a/modules/other/gail/gailexpander.c b/modules/other/gail/gailexpander.c index 99d8c4a38f..c4b7cd2be3 100644 --- a/modules/other/gail/gailexpander.c +++ b/modules/other/gail/gailexpander.c @@ -374,7 +374,7 @@ gail_expander_do_action (AtkAction *action, */ return FALSE; - if (!GTK_WIDGET_IS_SENSITIVE (widget) || !GTK_WIDGET_VISIBLE (widget)) + if (!gtk_widget_is_sensitive (widget) || !GTK_WIDGET_VISIBLE (widget)) return FALSE; expander = GAIL_EXPANDER (action); @@ -404,7 +404,7 @@ idle_do_action (gpointer data) widget = GTK_ACCESSIBLE (gail_expander)->widget; if (widget == NULL /* State is defunct */ || - !GTK_WIDGET_IS_SENSITIVE (widget) || !GTK_WIDGET_VISIBLE (widget)) + !gtk_widget_is_sensitive (widget) || !GTK_WIDGET_VISIBLE (widget)) return FALSE; gtk_widget_activate (widget); diff --git a/modules/other/gail/gailscalebutton.c b/modules/other/gail/gailscalebutton.c index 32cb12eea9..956543cbcb 100644 --- a/modules/other/gail/gailscalebutton.c +++ b/modules/other/gail/gailscalebutton.c @@ -115,7 +115,7 @@ gail_scale_button_do_action(AtkAction *action, if (widget == NULL) return FALSE; - if (!GTK_WIDGET_IS_SENSITIVE (widget) || !GTK_WIDGET_VISIBLE (widget)) + if (!gtk_widget_is_sensitive (widget) || !GTK_WIDGET_VISIBLE (widget)) return FALSE; switch (i) { diff --git a/modules/other/gail/gailwidget.c b/modules/other/gail/gailwidget.c index 9a7e5df9ca..ea69cc777e 100644 --- a/modules/other/gail/gailwidget.c +++ b/modules/other/gail/gailwidget.c @@ -482,7 +482,7 @@ gail_widget_ref_state_set (AtkObject *accessible) } else { - if (GTK_WIDGET_IS_SENSITIVE (widget)) + if (gtk_widget_is_sensitive (widget)) { atk_state_set_add_state (state_set, ATK_STATE_SENSITIVE); atk_state_set_add_state (state_set, ATK_STATE_ENABLED); |