PolicyKit: Branch 'master'

David Zeuthen david at kemper.freedesktop.org
Mon Oct 22 09:45:04 PDT 2007


 doc/polkit-docs.xml          |    7 +++++++
 polkit-dbus/polkit-dbus.c    |   16 ++++++++++++++++
 polkit/polkit-policy-cache.c |    2 ++
 3 files changed, 25 insertions(+)

New commits:
commit d1a6df3f786c74fc51f613e5b71e0d6f63014cef
Author: David Zeuthen <davidz at redhat.com>
Date:   Mon Oct 22 12:44:25 2007 -0400

    use the Since: tag so gtk-doc can print what symbols are new in 0.7

diff --git a/doc/polkit-docs.xml b/doc/polkit-docs.xml
index 3e27c9c..f2745db 100644
--- a/doc/polkit-docs.xml
+++ b/doc/polkit-docs.xml
@@ -131,6 +131,13 @@
     <xi:include href="man/polkit-config-file-validate.xml"/>
   </reference>
 
+  <index role="deprecated">
+    <title>Index of deprecated symbols</title>
+  </index>
+  <index role="0.7">
+    <title>Index of new symbols in 0.7</title>
+  </index>
+
   <index>
     <title>Index</title>
   </index>
diff --git a/polkit-dbus/polkit-dbus.c b/polkit-dbus/polkit-dbus.c
index 9354bfb..5ac8457 100644
--- a/polkit-dbus/polkit-dbus.c
+++ b/polkit-dbus/polkit-dbus.c
@@ -838,6 +838,8 @@ _pid_start_time_equal (gconstpointer a, gconstpointer b)
  * Creates a new #PolKitTracker object.
  * 
  * Returns: the new object
+ *
+ * Since: 0.7
  **/
 PolKitTracker *
 polkit_tracker_new (void)
@@ -863,6 +865,8 @@ polkit_tracker_new (void)
  * Increase reference count.
  * 
  * Returns: the object
+ *
+ * Since: 0.7
  **/
 PolKitTracker *
 polkit_tracker_ref (PolKitTracker *pk_tracker)
@@ -879,6 +883,8 @@ polkit_tracker_ref (PolKitTracker *pk_tracker)
  * Decreases the reference count of the object. If it becomes zero,
  * the object is freed. Before freeing, reference counts on embedded
  * objects are decresed by one.
+ *
+ * Since: 0.7
  **/
 void
 polkit_tracker_unref (PolKitTracker *pk_tracker)
@@ -901,6 +907,8 @@ polkit_tracker_unref (PolKitTracker *pk_tracker)
  * Tell the #PolKitTracker object to use the given D-Bus connection
  * when it needs to fetch information from the system message bus and
  * ConsoleKit services. This is used for priming the cache.
+ *
+ * Since: 0.7
  */
 void
 polkit_tracker_set_system_bus_connection (PolKitTracker *pk_tracker, DBusConnection *con)
@@ -914,6 +922,8 @@ polkit_tracker_set_system_bus_connection (PolKitTracker *pk_tracker, DBusConnect
  * @pk_tracker: the tracker object
  * 
  * Initialize the tracker.
+ *
+ * Since: 0.7
  */
 void
 polkit_tracker_init (PolKitTracker *pk_tracker)
@@ -1017,6 +1027,8 @@ _remove_caller_by_dbus_name (PolKitTracker *pk_tracker, const char *dbus_name)
  * from the ConsoleKit service into this function.
  *
  * Returns: #TRUE only if there was a change in the ConsoleKit database.
+ *
+ * Since: 0.7
  */
 polkit_bool_t
 polkit_tracker_dbus_func (PolKitTracker *pk_tracker, DBusMessage *message)
@@ -1099,6 +1111,8 @@ out:
  * Returns: A #PolKitCaller object; the caller must use
  * polkit_caller_unref() on the object when done with it. Returns
  * #NULL if an error occured (in which case error will be set).
+ *
+ * Since: 0.7
  */
 PolKitCaller *
 polkit_tracker_get_caller_from_dbus_name (PolKitTracker *pk_tracker, const char *dbus_name, DBusError *error)
@@ -1201,6 +1215,8 @@ out:
  * Returns: A #PolKitCaller object; the caller must use
  * polkit_caller_unref() on the object when done with it. Returns
  * #NULL if an error occured (in which case error will be set).
+ *
+ * Since: 0.7
  */
 PolKitCaller *
 polkit_tracker_get_caller_from_pid (PolKitTracker *pk_tracker, pid_t pid, DBusError *error)
diff --git a/polkit/polkit-policy-cache.c b/polkit/polkit-policy-cache.c
index 0fcd9c2..a786262 100644
--- a/polkit/polkit-policy-cache.c
+++ b/polkit/polkit-policy-cache.c
@@ -316,6 +316,8 @@ polkit_policy_cache_foreach (PolKitPolicyCache *policy_cache,
  * Returns: The first #PolKitPolicyFileEntry matching the search
  * criteria. The caller shall not unref this object. Returns #NULL if
  * there are no policy file entries matching the search criteria.
+ *
+ * Since: 0.7
  */
 PolKitPolicyFileEntry* 
 polkit_policy_cache_get_entry_by_annotation (PolKitPolicyCache *policy_cache, 


More information about the hal-commit mailing list