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 | |
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')
-rw-r--r-- | src/ephy-fullscreen-popup.c | 2 | ||||
-rw-r--r-- | src/ephy-notebook.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-fullscreen-popup.c b/src/ephy-fullscreen-popup.c index 88d530d5f..8cefbefc3 100644 --- a/src/ephy-fullscreen-popup.c +++ b/src/ephy-fullscreen-popup.c @@ -348,7 +348,7 @@ ephy_fullscreen_popup_size_request (GtkWidget *widget, GTK_WIDGET_CLASS (ephy_fullscreen_popup_parent_class)->size_request (widget, requisition); - if (GTK_WIDGET_REALIZED (widget)) + if (gtk_widget_get_realized (widget)) { ephy_fullscreen_popup_update_position (popup); } 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; |