summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/engines/ms-windows/msw_style.c2
-rw-r--r--modules/other/gail/gail.c2
-rw-r--r--modules/other/gail/gailwidget.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/engines/ms-windows/msw_style.c b/modules/engines/ms-windows/msw_style.c
index 27f85947f..b561a1dea 100755
--- a/modules/engines/ms-windows/msw_style.c
+++ b/modules/engines/ms-windows/msw_style.c
@@ -2057,7 +2057,7 @@ draw_box (GtkStyle *style,
}
else
{
- gboolean is_default = GTK_WIDGET_HAS_DEFAULT (widget);
+ gboolean is_default = gtk_widget_has_default (widget);
if (xp_theme_draw
(window,
is_default ? XP_THEME_ELEMENT_DEFAULT_BUTTON :
diff --git a/modules/other/gail/gail.c b/modules/other/gail/gail.c
index 37e948d9c..21672164e 100644
--- a/modules/other/gail/gail.c
+++ b/modules/other/gail/gail.c
@@ -263,7 +263,7 @@ gail_focus_watcher (GSignalInvocationHint *ihint,
{
GtkWidget *child = gtk_bin_get_child (GTK_BIN (widget));
- if (GTK_IS_WIDGET (child) && GTK_WIDGET_HAS_GRAB (child))
+ if (GTK_IS_WIDGET (child) && gtk_widget_has_grab (child))
{
if (GTK_IS_MENU_SHELL (child))
{
diff --git a/modules/other/gail/gailwidget.c b/modules/other/gail/gailwidget.c
index 10e5cb584..892e4520c 100644
--- a/modules/other/gail/gailwidget.c
+++ b/modules/other/gail/gailwidget.c
@@ -529,7 +529,7 @@ gail_widget_ref_state_set (AtkObject *accessible)
if (focus_obj == NULL)
atk_state_set_add_state (state_set, ATK_STATE_FOCUSED);
}
- if (GTK_WIDGET_HAS_DEFAULT(widget))
+ if (gtk_widget_has_default (widget))
{
atk_state_set_add_state (state_set, ATK_STATE_DEFAULT);
}