[nautilus-actions] NAObjectAction rather makes use of na_object_attach_profile() macro



commit bea88315ff8308c7de2aa1770e2bec2017a577fc
Author: Pierre Wieser <pwieser trychlos org>
Date:   Wed Feb 8 22:18:06 2012 +0100

    NAObjectAction rather makes use of na_object_attach_profile() macro

 ChangeLog                   |    6 ++++++
 src/core/na-object-action.c |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index d660ad6..f07773e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-02-08 Pierre Wieser <pwieser trychlos org>
+
+	* src/core/na-object-action.c
+	(na_object_action_new_with_profile, na_object_action_new_with_defaults):
+	Rather use the macro na_object_attach_profile().
+
 2012-02-06 Pierre Wieser <pwieser trychlos org>
 
 	* src/nact/nact-tree-view.c (display_label): Simplify the code.
diff --git a/src/core/na-object-action.c b/src/core/na-object-action.c
index 68886b7..ac4ceb4 100644
--- a/src/core/na-object-action.c
+++ b/src/core/na-object-action.c
@@ -631,7 +631,7 @@ na_object_action_new_with_profile( void )
 
 	action = na_object_action_new();
 	profile = na_object_profile_new();
-	na_object_action_attach_profile( action, profile );
+	na_object_attach_profile( action, profile );
 
 	return( action );
 }
@@ -659,7 +659,7 @@ na_object_action_new_with_defaults( void )
 	na_factory_object_set_defaults( NA_IFACTORY_OBJECT( action ));
 
 	profile = na_object_profile_new_with_defaults();
-	na_object_action_attach_profile( action, profile );
+	na_object_attach_profile( action, profile );
 
 	return( action );
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]