diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-01-04 04:56:11 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-01-07 10:05:08 +0100 |
commit | 56a893ca8cafc4b4d5cc32018795d8eda3fa1dbc (patch) | |
tree | d14ca8f5c4d1aec29f30258333237e12e6422389 /gtk/gtktogglebutton.c | |
parent | 51e0dd9a82270ebfe8d4f5da0b3674c3c9ad0d57 (diff) | |
download | gtk+-56a893ca8cafc4b4d5cc32018795d8eda3fa1dbc.tar.gz |
Deprecate widget flag: GTK_WIDGET_CAN_FOCUS
https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'gtk/gtktogglebutton.c')
-rw-r--r-- | gtk/gtktogglebutton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktogglebutton.c b/gtk/gtktogglebutton.c index ddc6678ffd..3a07cfdc4c 100644 --- a/gtk/gtktogglebutton.c +++ b/gtk/gtktogglebutton.c @@ -456,7 +456,7 @@ gtk_toggle_button_mnemonic_activate (GtkWidget *widget, * gtk_widget_real_mnemonic_activate() in order to focus the widget even * if there is no mnemonic conflict. */ - if (GTK_WIDGET_CAN_FOCUS (widget)) + if (gtk_widget_get_can_focus (widget)) gtk_widget_grab_focus (widget); if (!group_cycling) |