[glib/wip/jfelder/gdatetime-annotations: 8/9] gdatetime: Fix g_date_time_hash annotation




commit b513b358a872fd8cf132b7a4581d483da6fbfd0b
Author: Jean Felder <jfelder src gnome org>
Date:   Mon Nov 23 14:54:49 2020 +0100

    gdatetime: Fix g_date_time_hash annotation
    
    The parameter C type needs to be overriden to GDateTime.

 glib/gdatetime.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/gdatetime.c b/glib/gdatetime.c
index 49bdda5c3..11b1ebcfb 100644
--- a/glib/gdatetime.c
+++ b/glib/gdatetime.c
@@ -2074,7 +2074,7 @@ g_date_time_difference (GDateTime *end,
 
 /**
  * g_date_time_hash:
- * @datetime: (not nullable): a #GDateTime
+ * @datetime: (type GDateTime) (not nullable): a #GDateTime
  *
  * Hashes @datetime into a #guint, suitable for use within #GHashTable.
  *


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