gnome-desktop r5087 - trunk/libgnome-desktop
- From: ssp svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-desktop r5087 - trunk/libgnome-desktop
- Date: Sat, 17 May 2008 05:59:59 +0100 (BST)
Author: ssp
Date: Sat May 17 04:59:59 2008
New Revision: 5087
URL: http://svn.gnome.org/viewvc/gnome-desktop?rev=5087&view=rev
Log:
+Sat May 17 00:55:48 2008 Sïren Sandmann <sandmann redhat com>
+
+ * gnome-bg.c (gnome_bg_set_uri): don't call g_path_is_absolute()
+ on a NULL uri.
+
Modified:
trunk/libgnome-desktop/ChangeLog
trunk/libgnome-desktop/gnome-bg.c
Modified: trunk/libgnome-desktop/gnome-bg.c
==============================================================================
--- trunk/libgnome-desktop/gnome-bg.c (original)
+++ trunk/libgnome-desktop/gnome-bg.c Sat May 17 04:59:59 2008
@@ -399,7 +399,7 @@
g_return_if_fail (bg != NULL);
- if (g_path_is_absolute (uri)) {
+ if (uri && g_path_is_absolute (uri)) {
uri = free_me = g_filename_to_uri (uri, NULL, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]