summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Felder <jfelder@src.gnome.org>2020-11-23 14:53:57 +0100
committerPhilip Withnall <pwithnall@endlessos.org>2020-11-24 09:45:58 +0000
commit7ec3c26e67eb6aae98db31db47d06f7514b519d9 (patch)
tree22a25cd32af44dc8025d4ed9fb42f639c41a6fc4
parentd78778cc4660a229acc306f1e806261d4ab677a9 (diff)
downloadglib-7ec3c26e67eb6aae98db31db47d06f7514b519d9.tar.gz
gdatetime: Fix g_date_time_compare annotation
The parameters C type need to be overriden to GDateTime.
-rw-r--r--glib/gdatetime.c4
1 files 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.