summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-monitor.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2015-08-03 13:42:38 +0100
committerRichard Hughes <richard@hughsie.com>2015-08-03 13:42:38 +0100
commit930cda7e590e1bd1a4b44ccc74f39309f3989174 (patch)
tree47ef6b7de11daf883b1e250307a855010401a8ca /libappstream-glib/as-monitor.c
parent1caf5938041a187d570687cb6c4213e7762b704c (diff)
downloadappstream-glib-930cda7e590e1bd1a4b44ccc74f39309f3989174.tar.gz
trivial: Add some missing gtk-doc comments
Diffstat (limited to 'libappstream-glib/as-monitor.c')
-rw-r--r--libappstream-glib/as-monitor.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/libappstream-glib/as-monitor.c b/libappstream-glib/as-monitor.c
index 3501d62..2582c32 100644
--- a/libappstream-glib/as-monitor.c
+++ b/libappstream-glib/as-monitor.c
@@ -416,6 +416,16 @@ as_monitor_file_changed_cb (GFileMonitor *mon,
/**
* as_monitor_add_directory:
+ * @monitor: an #AsMonitor
+ * @filename: directory name
+ * @cancellable: a #GCancellable or %NULL
+ * @error: a #GError or %NULL
+ *
+ * Adds a directory of files to the watch list.
+ *
+ * Returns: %TRUE for success
+ *
+ * Since: 0.5.0
**/
gboolean
as_monitor_add_directory (AsMonitor *monitor,
@@ -455,6 +465,16 @@ as_monitor_add_directory (AsMonitor *monitor,
/**
* as_monitor_add_file:
+ * @monitor: an #AsMonitor
+ * @filename: a filename
+ * @cancellable: a #GCancellable or %NULL
+ * @error: a #GError or %NULL
+ *
+ * Adds a file to the watch list.
+ *
+ * Returns: %TRUE for success
+ *
+ * Since: 0.5.0
**/
gboolean
as_monitor_add_file (AsMonitor *monitor,