Fix for crasher bug 403565
- From: "Padraig O'Briain" <Padraig Obriain Sun COM>
- To: alexl redhat com
- Cc: nautilus-list gnome org
- Subject: Fix for crasher bug 403565
- Date: Fri, 02 Feb 2007 13:22:47 +0000
Attached is a proposed fix for crasher bug
http://bugzilla.gnome.org/show_bug.cgi?id=403565
Padraig
--- /usr/tmp/clean/nautilus-2.17.90/libnautilus-private/nautilus-desktop-icon-file.c Wed Jan 3 08:52:25 2007
+++ nautilus-2.17.90/libnautilus-private/nautilus-desktop-icon-file.c Fri Feb 2 12:00:15 2007
@@ -321,7 +321,10 @@
NautilusDesktopLink *
nautilus_desktop_icon_file_get_link (NautilusDesktopIconFile *icon_file)
{
- return g_object_ref (icon_file->details->link);
+ if (icon_file->details->link)
+ return g_object_ref (icon_file->details->link);
+ else
+ return NULL;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]