nautilus r15131 - in trunk: . src/file-manager
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r15131 - in trunk: . src/file-manager
- Date: Tue, 17 Mar 2009 16:34:04 +0000 (UTC)
Author: alexl
Date: Tue Mar 17 16:34:04 2009
New Revision: 15131
URL: http://svn.gnome.org/viewvc/nautilus?rev=15131&view=rev
Log:
2009-03-17 Alexander Larsson <alexl redhat com>
* src/file-manager/fm-desktop-icon-view.c:
(trash_link_is_selection):
Don't unref link if NULL
Modified:
trunk/ChangeLog
trunk/src/file-manager/fm-desktop-icon-view.c
Modified: trunk/src/file-manager/fm-desktop-icon-view.c
==============================================================================
--- trunk/src/file-manager/fm-desktop-icon-view.c (original)
+++ trunk/src/file-manager/fm-desktop-icon-view.c Tue Mar 17 16:34:04 2009
@@ -650,7 +650,9 @@
nautilus_desktop_link_get_link_type (link) == NAUTILUS_DESKTOP_LINK_TRASH) {
result = TRUE;
}
- g_object_unref (link);
+ if (link) {
+ g_object_unref (link);
+ }
}
nautilus_file_list_free (selection);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]