[nautilus-actions] Marked intern NAObjectProfile functions as static



commit 6a6fb2e42c2cba141d00cce4007210329f49a6fe
Author: Pierre Wieser <pwieser trychlos org>
Date:   Sat Dec 12 13:57:07 2009 +0100

    Marked intern NAObjectProfile functions as static

 ChangeLog                                    |    3 +++
 TODO                                         |    4 ----
 nautilus-actions/private/na-object-profile.c |    4 ++--
 3 files changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 71f7b75..32bbf56 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
 2009-12-12 Pierre Wieser <pwieser trychlos org>
 
 	* nautilus-actions/private/na-object-profile.c
+	(object_are_equal, object_is_valid): Now marked as static.
+
+	* nautilus-actions/private/na-object-profile.c
 	(na_object_profile_is_candidate,
 	na_object_profile_is_candidate_for_tracked):
 	Profile must be valid in order to be candidate.
diff --git a/TODO b/TODO
index b33d9d4..0de4d78 100644
--- a/TODO
+++ b/TODO
@@ -102,7 +102,3 @@
 - lockdown: cut should be disabled
   inline edition should be disabled
   all entry fields should be readonly
-
-- naobjectprofile: object_are_equal, object_is_valid should be static
-
-- dbus send: do we should free the strings after their emission ?
diff --git a/nautilus-actions/private/na-object-profile.c b/nautilus-actions/private/na-object-profile.c
index c901095..6c7eff8 100644
--- a/nautilus-actions/private/na-object-profile.c
+++ b/nautilus-actions/private/na-object-profile.c
@@ -1804,7 +1804,7 @@ object_copy( NAObject *target, const NAObject *source )
 	}
 }
 
-gboolean
+static gboolean
 object_are_equal( const NAObject *a, const NAObject *b )
 {
 	NAObjectProfile *first = NA_OBJECT_PROFILE( a );
@@ -1864,7 +1864,7 @@ object_are_equal( const NAObject *a, const NAObject *b )
  * - at least one of is_file, is_dir is set
  * - schemes list is not empty
  */
-gboolean
+static gboolean
 object_is_valid( const NAObject *profile )
 {
 	gboolean is_valid = FALSE;



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