mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
fixes one more ccrash. nautilus_model_node_get_file does not return a
2000-09-08 Mathieu Lacage <mathieu@eazel.com> * components/tree/nautilus-tree-view.c: fixes one more ccrash. nautilus_model_node_get_file does not return a refed NautilusFile for you. So, must not unref it.
This commit is contained in:
parent
33d4296aab
commit
8e47e2a792
2 changed files with 6 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2000-09-08 Mathieu Lacage <mathieu@eazel.com>
|
||||
|
||||
* components/tree/nautilus-tree-view.c: fixes one more ccrash.
|
||||
nautilus_model_node_get_file does not return a refed NautilusFile
|
||||
for you. So, must not unref it.
|
||||
|
||||
2000-09-08 Mathieu Lacage <mathieu@eazel.com>
|
||||
|
||||
* components/tree/nautilus-tree-view.c: fix bug 2918.
|
||||
|
|
|
@ -2067,14 +2067,11 @@ nautilus_tree_view_find_drop_target (NautilusTreeView *tree_view,
|
|||
|
||||
if ( !nautilus_drag_can_accept_items
|
||||
(file, selection_list)) {
|
||||
nautilus_file_unref (file);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
target_uri = nautilus_file_get_uri (file);
|
||||
|
||||
nautilus_file_unref (file);
|
||||
|
||||
return target_uri;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue