diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-01-11 06:06:13 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-01-11 06:06:13 +0800 |
commit | 0e65d642a294bae7d126201b315824b54c3b55a5 (patch) | |
tree | e549ebfa5791b5503aac4813f3dc6ddf9f9a0df6 /src | |
parent | 09136af43c1074fb979578be2987cd0ae3a8852d (diff) | |
download | gsoc2013-epiphany-0e65d642a294bae7d126201b315824b54c3b55a5.tar gsoc2013-epiphany-0e65d642a294bae7d126201b315824b54c3b55a5.tar.gz gsoc2013-epiphany-0e65d642a294bae7d126201b315824b54c3b55a5.tar.bz2 gsoc2013-epiphany-0e65d642a294bae7d126201b315824b54c3b55a5.tar.lz gsoc2013-epiphany-0e65d642a294bae7d126201b315824b54c3b55a5.tar.xz gsoc2013-epiphany-0e65d642a294bae7d126201b315824b54c3b55a5.tar.zst gsoc2013-epiphany-0e65d642a294bae7d126201b315824b54c3b55a5.zip |
Fix signal parameter, and add a NULL check. Fixes bug #131117, patch by
2004-01-10 Christian Persch <chpe@cvs.gnome.org>
* src/ephy-window.c: (update_exit_fullscreen_popup_position),
(ephy_window_fullscreen):
Fix signal parameter, and add a NULL check. Fixes bug #131117,
patch by Martin Kretzschmar.
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-window.c | 4 |
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); } |