From ca38b66c43d6bc8d5658109cd7d4b47e59242ac8 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Tue, 1 Feb 2005 20:25:18 +0000 Subject: Don't assign to ephy_shell global variable, that's already done in its 2005-02-01 Christian Persch * src/ephy-main.c: (main): Don't assign to ephy_shell global variable, that's already done in its constructor. --- src/ephy-main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3