[evolution-data-server] I#246 - libecal: Specify forward-declared types for gir



commit 5c9f2aa8cff09978caf5a44699d93a1ccb074ef0
Author: Milan Crha <mcrha redhat com>
Date:   Fri Aug 28 14:57:46 2020 +0200

    I#246 - libecal: Specify forward-declared types for gir
    
    Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/246

 src/calendar/libecal/e-cal-client-view.c      | 2 +-
 src/calendar/libecal/e-cal-component-alarms.c | 4 ++--
 src/calendar/libecal/e-cal-util.c             | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/calendar/libecal/e-cal-client-view.c b/src/calendar/libecal/e-cal-client-view.c
index 23b2860b88..fde6881743 100644
--- a/src/calendar/libecal/e-cal-client-view.c
+++ b/src/calendar/libecal/e-cal-client-view.c
@@ -885,7 +885,7 @@ e_cal_client_view_init (ECalClientView *client_view)
  * The returned #ECalClient is referenced for thread-safety.  Unreference
  * the #ECalClient with g_object_unref() when finished with it.
  *
- * Returns: (transfer full): an #ECalClient
+ * Returns: (type ECalClient) (transfer full): an #ECalClient
  *
  * Since: 3.10
  **/
diff --git a/src/calendar/libecal/e-cal-component-alarms.c b/src/calendar/libecal/e-cal-component-alarms.c
index c7c5e92193..794a88752b 100644
--- a/src/calendar/libecal/e-cal-component-alarms.c
+++ b/src/calendar/libecal/e-cal-component-alarms.c
@@ -42,7 +42,7 @@ struct _ECalComponentAlarms {
 
 /**
  * e_cal_component_alarms_new:
- * @comp: (not nullable): the actual alarm component, as #ECalComponent
+ * @comp: (type ECalComponent) (not nullable): the actual alarm component, as #ECalComponent
  *
  * Creates a new #ECalComponentAlarms structure, associated with @comp.
  * Free the alarms with e_cal_component_alarms_free(), when no longer needed.
@@ -116,7 +116,7 @@ e_cal_component_alarms_free (gpointer alarms)
  *
  * The returned component is valid until the @alarms is freed.
  *
- * Returns: (transfer none): an #ECalComponent associated with the @alarms structure
+ * Returns: (type ECalComponent) (transfer none): an #ECalComponent associated with the @alarms structure
  *
  * Since: 3.34
  **/
diff --git a/src/calendar/libecal/e-cal-util.c b/src/calendar/libecal/e-cal-util.c
index 7b34c40305..e91236bfb8 100644
--- a/src/calendar/libecal/e-cal-util.c
+++ b/src/calendar/libecal/e-cal-util.c
@@ -2520,7 +2520,7 @@ e_cal_util_find_next_occurrence (ICalComponent *vtodo,
 /**
  * e_cal_util_init_recur_task_sync:
  * @vtodo: a VTODO component
- * @cal_client: an #ECalClient to which the @vtodo belongs
+ * @cal_client: (type ECalClient): an #ECalClient to which the @vtodo belongs
  * @cancellable: optional #GCancellable object, or %NULL
  * @error: return location for a #GError, or %NULL
  *
@@ -2585,7 +2585,7 @@ e_cal_util_init_recur_task_sync (ICalComponent *vtodo,
  * e_cal_util_mark_task_complete_sync:
  * @vtodo: a VTODO component
  * @completed_time: completed time to set, or (time_t) -1 to use current time
- * @cal_client: an #ECalClient to which the @vtodo belongs
+ * @cal_client: (type ECalClient): an #ECalClient to which the @vtodo belongs
  * @cancellable: optional #GCancellable object, or %NULL
  * @error: return location for a #GError, or %NULL
  *


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