[nautilus-actions] Fix test of writability status of a desktop file
- From: Pierre Wieser <pwieser src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus-actions] Fix test of writability status of a desktop file
- Date: Sat, 30 Jan 2010 18:19:51 +0000 (UTC)
commit eb158d35d58ff0dfbf80d6299f4f452a4ac6611d
Author: Pierre Wieser <pwieser trychlos org>
Date: Sat Jan 30 14:07:04 2010 +0100
Fix test of writability status of a desktop file
nautilus-actions/io-provider-desktop/nadp-read.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/nautilus-actions/io-provider-desktop/nadp-read.c b/nautilus-actions/io-provider-desktop/nadp-read.c
index 6d2039e..984e44c 100644
--- a/nautilus-actions/io-provider-desktop/nadp-read.c
+++ b/nautilus-actions/io-provider-desktop/nadp-read.c
@@ -219,11 +219,11 @@ action_from_desktop_path( const NadpDesktopProvider *provider, DesktopPath *dps,
}
action = na_object_action_new();
- read_action_properties( provider, action, ndf, messages );
-
na_object_set_provider_data( action, ndf );
g_object_weak_ref( G_OBJECT( action ), ( GWeakNotify ) g_object_unref, ndf );
+ read_action_properties( provider, action, ndf, messages );
+
/* have at least one profile */
if( !na_object_get_items_count( action )){
profile = na_object_profile_new();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]