diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-01-04 03:07:11 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-01-07 10:04:55 +0100 |
commit | 51e0dd9a82270ebfe8d4f5da0b3674c3c9ad0d57 (patch) | |
tree | 8f6892b75ab87a143e8cff061a0cf499b4adeb2d /modules | |
parent | b9a96210eacc3cbad37e079ca3e294400335bac2 (diff) | |
download | gtk+-51e0dd9a82270ebfe8d4f5da0b3674c3c9ad0d57.tar.gz |
Deprecate some widget flags
Deprecate the following:
GTK_WIDGET_APP_PAINTABLE
GTK_WIDGET_CAN_DEFAULT
GTK_WIDGET_DOUBLE_BUFFERED
GTK_WIDGET_HAS_DEFAULT
GTK_WIDGET_HAS_GRAB
GTK_WIDGET_RECEIVES_DEFAULT
https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/engines/ms-windows/msw_style.c | 2 | ||||
-rw-r--r-- | modules/other/gail/gail.c | 2 | ||||
-rw-r--r-- | modules/other/gail/gailwidget.c | 2 |
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 27f85947fc..b561a1dea6 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 37e948d9c4..21672164ed 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 10e5cb5842..892e4520cd 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); } |