aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--src/ephy-window.c4
2 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index dabc6f0e4..1d0f30fef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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.
+
2004-01-10 Christopher James Lahey <clahey@ximian.com>
* embed/mozilla/PrintingPromptService.cpp:
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);
}