diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-18 02:38:52 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-18 02:38:52 +0800 |
commit | 690dc0c36544d075bbc24cf42b8e0b645af43460 (patch) | |
tree | ab0c04a7c4e5afb97c37ddfafcef2df8af6ac3c8 | |
parent | 10291068a6526aefd6541399580b9bb5c819d838 (diff) | |
download | gsoc2013-evolution-690dc0c36544d075bbc24cf42b8e0b645af43460.tar.gz gsoc2013-evolution-690dc0c36544d075bbc24cf42b8e0b645af43460.tar.zst gsoc2013-evolution-690dc0c36544d075bbc24cf42b8e0b645af43460.zip |
g_return_if_fail(), not g_return_val_if_fail().
* evolution-shell-client.c
(evolution_shell_client_set_line_status): g_return_if_fail(), not
g_return_val_if_fail().
svn path=/trunk/; revision=12167
-rw-r--r-- | shell/ChangeLog | 6 | ||||
-rw-r--r-- | shell/evolution-shell-client.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 9ae2116d8d..5b772baa0c 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,6 +1,12 @@ 2001-08-17 Ettore Perazzoli <ettore@ximian.com> * evolution-shell-client.c + (evolution_shell_client_set_line_status): g_return_if_fail(), not + g_return_val_if_fail(). + +2001-08-17 Ettore Perazzoli <ettore@ximian.com> + + * evolution-shell-client.c (evolution_shell_client_get_local_storage): Added some g_warnings for when we return CORBA_OBJECT_NIL; this might help to figure out what is wrong with bug #6625. Also, added a missing diff --git a/shell/evolution-shell-client.c b/shell/evolution-shell-client.c index b8d454155f..6b3f48e1f3 100644 --- a/shell/evolution-shell-client.c +++ b/shell/evolution-shell-client.c @@ -483,8 +483,8 @@ evolution_shell_client_set_line_status (EvolutionShellClient *shell_client, GNOME_Evolution_Shell corba_shell; CORBA_Environment ev; - g_return_if_fail (shell_client != NULL, CORBA_OBJECT_NIL); - g_return_if_fail (EVOLUTION_IS_SHELL_CLIENT (shell_client), CORBA_OBJECT_NIL); + g_return_if_fail (shell_client != NULL); + g_return_if_fail (EVOLUTION_IS_SHELL_CLIENT (shell_client)); CORBA_exception_init (&ev); |