aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--lib/ephy-file-helpers.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 629438386..b5be865f8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
{