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 /lib/ephy-file-helpers.c | |
parent | 6e5f92630e7efd2f871bbeb592c1a2c096b17829 (diff) | |
download | gsoc2013-epiphany-a639bd67fc363c4e7a587d4b95648048e662c2c4.tar gsoc2013-epiphany-a639bd67fc363c4e7a587d4b95648048e662c2c4.tar.gz gsoc2013-epiphany-a639bd67fc363c4e7a587d4b95648048e662c2c4.tar.bz2 gsoc2013-epiphany-a639bd67fc363c4e7a587d4b95648048e662c2c4.tar.lz gsoc2013-epiphany-a639bd67fc363c4e7a587d4b95648048e662c2c4.tar.xz 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.
Diffstat (limited to 'lib/ephy-file-helpers.c')
-rw-r--r-- | lib/ephy-file-helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |