aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-fullscreen-popup.c2
-rw-r--r--src/ephy-notebook.c2
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;