diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-02-11 10:30:46 +0800 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-02-11 22:48:02 +0800 |
commit | eb55fc7974c51d26ec5e539d7214787d1fac9a07 (patch) | |
tree | a2cbab1f74151926bfc051a6dfc5569f0fb8e3a2 /src/ephy-notebook.c | |
parent | 77c212067ef3f33c01a39a276f729d4099cb572b (diff) | |
download | gsoc2013-epiphany-eb55fc7974c51d26ec5e539d7214787d1fac9a07.tar gsoc2013-epiphany-eb55fc7974c51d26ec5e539d7214787d1fac9a07.tar.gz gsoc2013-epiphany-eb55fc7974c51d26ec5e539d7214787d1fac9a07.tar.bz2 gsoc2013-epiphany-eb55fc7974c51d26ec5e539d7214787d1fac9a07.tar.lz gsoc2013-epiphany-eb55fc7974c51d26ec5e539d7214787d1fac9a07.tar.xz gsoc2013-epiphany-eb55fc7974c51d26ec5e539d7214787d1fac9a07.tar.zst gsoc2013-epiphany-eb55fc7974c51d26ec5e539d7214787d1fac9a07.zip |
Use accessor functions instead direct access
Substitute GTK_WIDGET_MAPPED() and GTK_WIDGET_REALIZED()
GTK+ required version bumped to 2.19.5
https://bugzilla.gnome.org/show_bug.cgi?id=595791
Diffstat (limited to 'src/ephy-notebook.c')
-rw-r--r-- | src/ephy-notebook.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c index d56710d94..401f15609 100644 --- a/src/ephy-notebook.c +++ b/src/ephy-notebook.c @@ -267,7 +267,7 @@ find_tab_num_at_pos (EphyNotebook *notebook, gint abs_x, gint abs_y) tab = gtk_notebook_get_tab_label (nb, page); g_return_val_if_fail (tab != NULL, -1); - if (!GTK_WIDGET_MAPPED (GTK_WIDGET (tab))) + if (!gtk_widget_get_mapped (GTK_WIDGET (tab))) { page_num++; continue; |