aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/ephy-main.c3
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e1e5a449a..8c3d72492 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2005-02-01 Christian Persch <chpe@cvs.gnome.org>
+ * src/ephy-main.c: (main):
+
+ Don't assign to ephy_shell global variable, that's already done
+ in its constructor.
+
+2005-02-01 Christian Persch <chpe@cvs.gnome.org>
+
* src/ephy-window.c: (update_print_actions):
Don't disable print preview if print setup is locked down.
diff --git a/src/ephy-main.c b/src/ephy-main.c
index de6350cf7..042fd1f27 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -195,7 +195,8 @@ main (int argc, char *argv[])
bonobo_activate ();
- ephy_shell = ephy_shell_new ();
+ ephy_shell_new ();
+ g_assert (ephy_shell != NULL);
new_instance = ephy_shell_startup (ephy_shell, startup_flags,
args, string_arg, &err);