diff options
-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) { |