aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-07-25 20:56:20 +0800
committerChristian Persch <chpe@src.gnome.org>2005-07-25 20:56:20 +0800
commitf8745a6d908288280d5a127027b37b93ec80f764 (patch)
treebb7808a8b33e5706cc7c6f2261b205f94a3f2e69
parentc7d38517d0a4d4798d280bc5e88e55af1a90e793 (diff)
downloadgsoc2013-epiphany-f8745a6d908288280d5a127027b37b93ec80f764.tar.gz
gsoc2013-epiphany-f8745a6d908288280d5a127027b37b93ec80f764.tar.zst
gsoc2013-epiphany-f8745a6d908288280d5a127027b37b93ec80f764.zip
Don't crash in case the desktop file is not found.
2005-07-25 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_file_launch_desktop_file): Don't crash in case the desktop file is not found.
-rw-r--r--ChangeLog6
-rw-r--r--lib/ephy-file-helpers.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index adb2be8c4..1dd4dfe79 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-07-25 Christian Persch <chpe@cvs.gnome.org>
+
+ * lib/ephy-file-helpers.c: (ephy_file_launch_desktop_file):
+
+ Don't crash in case the desktop file is not found.
+
2005-07-24 Christian Persch <chpe@cvs.gnome.org>
* embed/ephy-embed-single.c: (ephy_embed_single_open_window):
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index 318c89407..c92c66f30 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -839,6 +839,7 @@ ephy_file_launch_desktop_file (const char *filename,
if (g_file_test (path, G_FILE_TEST_IS_REGULAR)) break;
g_free (path);
+ path = NULL;
}
if (path != NULL)