[glib/wip/jfelder/gdatetime-annotations: 1/3] gdatetime: Fix g_date_time_compare annotation




commit 3d8e3f943c5e25819a7f153cbd079014ac39941c
Author: Jean Felder <jean felder gmail com>
Date:   Mon Nov 23 14:34:03 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]