[glib/wip/jfelder/gdatetime-annotations: 7/9] gdatetime: Fix g_date_time_compare annotation
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/jfelder/gdatetime-annotations: 7/9] gdatetime: Fix g_date_time_compare annotation
- Date: Tue, 24 Nov 2020 09:46:03 +0000 (UTC)
commit 7ec3c26e67eb6aae98db31db47d06f7514b519d9
Author: Jean Felder <jfelder src gnome org>
Date: Mon Nov 23 14:53:57 2020 +0100
gdatetime: Fix g_date_time_compare annotation
The parameters C type need to be overriden to GDateTime.
glib/gdatetime.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/gdatetime.c b/glib/gdatetime.c
index 2e1034dab..49bdda5c3 100644
--- a/glib/gdatetime.c
+++ b/glib/gdatetime.c
@@ -2018,8 +2018,8 @@ g_date_time_add_full (GDateTime *datetime,
/* Compare, difference, hash, equal {{{1 */
/**
* g_date_time_compare:
- * @dt1: (not nullable): first #GDateTime to compare
- * @dt2: (not nullable): second #GDateTime to compare
+ * @dt1: (type GDateTime) (not nullable): first #GDateTime to compare
+ * @dt2: (type GDateTime) (not nullable): second #GDateTime to compare
*
* A comparison function for #GDateTimes that is suitable
* as a #GCompareFunc. Both #GDateTimes must be non-%NULL.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]