From eb55fc7974c51d26ec5e539d7214787d1fac9a07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Thu, 11 Feb 2010 03:30:46 +0100 Subject: 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 --- src/ephy-fullscreen-popup.c | 2 +- src/ephy-notebook.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3