epiphany r8941 - trunk/lib
- From: gns svn gnome org
- To: svn-commits-list gnome org
- Subject: epiphany r8941 - trunk/lib
- Date: Thu, 26 Mar 2009 15:36:02 +0000 (UTC)
Author: gns
Date: Thu Mar 26 15:36:02 2009
New Revision: 8941
URL: http://svn.gnome.org/viewvc/epiphany?rev=8941&view=rev
Log:
Check for NULL uri in ephy_file_delete_uri.
Modified:
trunk/lib/ephy-file-helpers.c
Modified: trunk/lib/ephy-file-helpers.c
==============================================================================
--- trunk/lib/ephy-file-helpers.c (original)
+++ trunk/lib/ephy-file-helpers.c Thu Mar 26 15:36:02 2009
@@ -768,6 +768,8 @@
GFile *file;
gboolean ret;
+ g_return_if_fail (uri);
+
file = g_file_new_for_uri (uri);
ret = g_file_delete (file, NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]