Add documentation for JobManager's constructor
authorJonathan Maw <jonathan.maw@codethink.co.uk>
Tue, 7 Aug 2012 08:23:19 +0000 (09:23 +0100)
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Tue, 7 Aug 2012 13:34:07 +0000 (14:34 +0100)
node-startup-controller/job-manager.c

index 5fd4bf7..b2ee7ad 100644 (file)
@@ -421,7 +421,16 @@ job_manager_forget_job (JobManager  *manager,
 }
 
 
-
+/**
+ * job_manager_new:
+ * @connection: A connection to the system bus. 
+ * @systemd_manager: An interface to the systemd manager created with 
+ * systemd_manager_proxy_new_for_bus_sync()
+ * 
+ * Creates a new JobManager object.
+ * 
+ * Returns: A new instance of the #JobManager.
+ */
 JobManager *
 job_manager_new (GDBusConnection *connection,
                  SystemdManager  *systemd_manager)