[evolution-data-server] Calendar: Improve the annotation coverage



commit f1750d633a8dd204d407386ee10feb8efa2a82c9
Author: Corentin Noël <corentin noel collabora com>
Date:   Wed Jun 9 16:42:05 2021 +0200

    Calendar: Improve the annotation coverage
    
    Allow to use the ECalClient signal and add force Posix.tm in Vala

 src/calendar/libecal/e-cal-client.c       | 5 +++++
 src/calendar/libecal/e-reminder-watcher.c | 2 +-
 src/libedataserver/e-client.c             | 2 +-
 src/vala/EBook-1.2.metadata               | 3 ---
 src/vala/ECal-2.0.metadata                | 3 +++
 5 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/src/calendar/libecal/e-cal-client.c b/src/calendar/libecal/e-cal-client.c
index dfd8dbaff..cfb0cf0af 100644
--- a/src/calendar/libecal/e-cal-client.c
+++ b/src/calendar/libecal/e-cal-client.c
@@ -1587,6 +1587,11 @@ e_cal_client_class_init (ECalClientClass *class)
                        G_PARAM_CONSTRUCT_ONLY |
                        G_PARAM_STATIC_STRINGS));
 
+       /**
+        * ECalClient::free-busy-data
+        * @client: A calendar client.
+        * @free_busy_ecalcomps: (type GSList<ECalComponent>):
+        **/
        signals[FREE_BUSY_DATA] = g_signal_new (
                "free-busy-data",
                G_OBJECT_CLASS_TYPE (class),
diff --git a/src/calendar/libecal/e-reminder-watcher.c b/src/calendar/libecal/e-reminder-watcher.c
index 949574aa6..4f9c4af94 100644
--- a/src/calendar/libecal/e-reminder-watcher.c
+++ b/src/calendar/libecal/e-reminder-watcher.c
@@ -534,7 +534,7 @@ e_reminder_data_copy (const EReminderData *rd)
 
 /**
  * e_reminder_data_free:
- * @rd: (nullable): an #EReminderData, or %NULL
+ * @rd: (nullable) (type EReminderData): an #EReminderData, or %NULL
  *
  * Frees previously allocated #EReminderData structure with e_reminder_data_new()
  * or e_reminder_data_copy(). The function does nothing when @rd is %NULL.
diff --git a/src/libedataserver/e-client.c b/src/libedataserver/e-client.c
index 5edb17785..9aaebbd10 100644
--- a/src/libedataserver/e-client.c
+++ b/src/libedataserver/e-client.c
@@ -916,7 +916,7 @@ e_client_class_init (EClientClass *class)
                        G_PARAM_STATIC_STRINGS));
 
        /**
-        * EClient:opened-signal: (skip)
+        * EClient::opened-signal: (skip)
         *
         * Deprecated: 3.8: This signal is no longer emitted.
         **/
diff --git a/src/vala/EBook-1.2.metadata b/src/vala/EBook-1.2.metadata
index 69015ede2..e69de29bb 100644
--- a/src/vala/EBook-1.2.metadata
+++ b/src/vala/EBook-1.2.metadata
@@ -1,3 +0,0 @@
-BookClientView.objects_added#signal.object type="GLib.List<weak void*>"
-BookClientView.objects_removed#signal.object type="GLib.List<weak void*>"
-BookClientView.objects_modified#signal.object type="GLib.List<weak void*>"
diff --git a/src/vala/ECal-2.0.metadata b/src/vala/ECal-2.0.metadata
index 014b2fcc6..f47407981 100644
--- a/src/vala/ECal-2.0.metadata
+++ b/src/vala/ECal-2.0.metadata
@@ -1,2 +1,5 @@
 TimezoneCache.add_timezone name="add_tz"
 TimezoneCache.get_timezone name="get_tz"
+util_icaltime_to_tm type="Posix.tm"
+util_icaltime_to_tm_with_zone type="Posix.tm"
+util_tm_to_icaltime.tm type="Posix.tm"


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