diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-03-02 05:19:28 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-03-03 20:19:03 +0100 |
commit | 1fe7d3cefd1aeabd6d8cab2a68673bb1f7876988 (patch) | |
tree | 6e161718bd71eaec8c358f9eb83c2a40c9835278 /gtk/gtkmnemonichash.c | |
parent | f4d9c7be2b8d76c720ae8c38ca27f7618f5bf029 (diff) | |
download | gtk+-1fe7d3cefd1aeabd6d8cab2a68673bb1f7876988.tar.gz |
Deprecate widget flag: GTK_WIDGET_MAPPED
Use gtk_widget_get_mapped() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'gtk/gtkmnemonichash.c')
-rw-r--r-- | gtk/gtkmnemonichash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmnemonichash.c b/gtk/gtkmnemonichash.c index 210002fb93..6434e14402 100644 --- a/gtk/gtkmnemonichash.c +++ b/gtk/gtkmnemonichash.c @@ -128,7 +128,7 @@ _gtk_mnemonic_hash_activate (GtkMnemonicHash *mnemonic_hash, widget = GTK_WIDGET (list->data); if (gtk_widget_is_sensitive (widget) && - GTK_WIDGET_MAPPED (widget) && + gtk_widget_get_mapped (widget) && widget->window && gdk_window_is_viewable (widget->window)) { |