[tepl] Metadata: add comments to delimit code sections
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tepl] Metadata: add comments to delimit code sections
- Date: Sat, 18 Apr 2020 17:19:17 +0000 (UTC)
commit 9e9a5a2a7a048325988895e6c9d7cc38b22f8bb0
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu Apr 16 06:57:03 2020 +0200
Metadata: add comments to delimit code sections
tepl/tepl-metadata.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/tepl/tepl-metadata.c b/tepl/tepl-metadata.c
index 953e9c5..144aed5 100644
--- a/tepl/tepl-metadata.c
+++ b/tepl/tepl-metadata.c
@@ -27,6 +27,9 @@
* - Use the TeplMetadataStore otherwise.
*/
+/******************************************************************************/
+/* Utils */
+
static gboolean force_using_metadata_store;
void
@@ -50,6 +53,9 @@ use_gvfs_metadata (void)
#endif
}
+/******************************************************************************/
+/* Simplify TeplMetadataStore is_loaded/is_loading/load */
+
static void
load_metadata_store__notify_loaded_cb (TeplMetadataStore *store,
GParamSpec *pspec,
@@ -130,6 +136,9 @@ load_metadata_store_finish (TeplMetadataStore *store,
return g_task_propagate_boolean (G_TASK (result), error);
}
+/******************************************************************************/
+/* Query info */
+
static void
do_query_info (TeplMetadataStore *store,
GTask *task)
@@ -229,6 +238,9 @@ _tepl_metadata_query_info_finish (GFile *location,
return g_task_propagate_pointer (G_TASK (result), error);
}
+/******************************************************************************/
+/* Set attributes */
+
static void
do_set_attributes (TeplMetadataStore *store,
GTask *task)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]