aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 2e24e68e0..896a5dcf8 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -435,6 +435,8 @@ update_exit_fullscreen_popup_position (EphyWindow *window)
GdkRectangle screen_rect;
int popup_height;
+ g_return_if_fail (window->priv->exit_fullscreen_popup != NULL);
+
gtk_window_get_size (GTK_WINDOW (window->priv->exit_fullscreen_popup),
NULL, &popup_height);
@@ -602,7 +604,7 @@ ephy_window_fullscreen (EphyWindow *window)
g_signal_connect (G_OBJECT (gdk_screen_get_default ()),
"size-changed", G_CALLBACK (size_changed_cb),
- popup);
+ window);
update_chromes_visibility (window);
}