diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-09-03 02:56:05 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-09-03 02:56:05 +0800 |
commit | d440df54a8a719d6da8f9d6556e1191bfdb38924 (patch) | |
tree | 90fb594c56df5ff9f0938cc4439174d525a54538 /shell/main.c | |
parent | 19e564f320e368e4b8f4f6c238158960380bba71 (diff) | |
download | gsoc2013-evolution-d440df54a8a719d6da8f9d6556e1191bfdb38924.tar.gz gsoc2013-evolution-d440df54a8a719d6da8f9d6556e1191bfdb38924.tar.zst gsoc2013-evolution-d440df54a8a719d6da8f9d6556e1191bfdb38924.zip |
** Fix for bug #471791 (Move away from asserts to g_ret*)
svn path=/trunk/; revision=34159
Diffstat (limited to 'shell/main.c')
-rw-r--r-- | shell/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/main.c b/shell/main.c index 24183e553f..9fb14522a9 100644 --- a/shell/main.c +++ b/shell/main.c @@ -290,7 +290,7 @@ open_uris (GNOME_Evolution_Shell corba_shell, gchar **uris) CORBA_Environment ev; guint n_uris, ii; - g_assert (uris != NULL); + g_return_if_fail (uris != NULL); n_uris = g_strv_length (uris); CORBA_exception_init (&ev); @@ -316,7 +316,7 @@ idle_cb (gchar **uris) EShellConstructResult result; EShellStartupLineMode startup_line_mode; - g_assert (uris == NULL || g_strv_length (uris) > 0); + g_return_val_if_fail (uris == NULL || g_strv_length (uris) > 0, FALSE); #ifdef KILL_PROCESS_CMD kill_old_dataserver (); |