diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-08-21 06:25:48 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-08-21 06:25:48 +0800 |
commit | a639bd67fc363c4e7a587d4b95648048e662c2c4 (patch) | |
tree | 8c19cd54633f012242f529c3860485b850c46e8c | |
parent | 6e5f92630e7efd2f871bbeb592c1a2c096b17829 (diff) | |
download | gsoc2013-epiphany-a639bd67fc363c4e7a587d4b95648048e662c2c4.tar.gz gsoc2013-epiphany-a639bd67fc363c4e7a587d4b95648048e662c2c4.tar.zst gsoc2013-epiphany-a639bd67fc363c4e7a587d4b95648048e662c2c4.zip |
Change a g_return_if_fail into a regular return.
2005-08-21 Christian Persch <chpe@cvs.gnome.org>
* lib/ephy-file-helpers.c: (ephy_file_launch_handler):
Change a g_return_if_fail into a regular return.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/ephy-file-helpers.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2005-08-21 Christian Persch <chpe@cvs.gnome.org> + * lib/ephy-file-helpers.c: (ephy_file_launch_handler): + + Change a g_return_if_fail into a regular return. + +2005-08-21 Christian Persch <chpe@cvs.gnome.org> + * src/ephy-window.c: (ephy_window_delete_event), (ephy_window_class_init), (ephy_window_init): diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c index c92c66f30..45278b31a 100644 --- a/lib/ephy-file-helpers.c +++ b/lib/ephy-file-helpers.c @@ -872,7 +872,7 @@ ephy_file_launch_handler (const char *mime_type, g_return_val_if_fail (address != NULL, FALSE); canonical = gnome_vfs_make_uri_canonical (address); - g_return_val_if_fail (canonical != NULL, FALSE); + if (canonical == NULL) return FALSE; if (mime_type != NULL) { |