[libgdata] calendar: Remove incorrect (allow-none) annotations



commit 49f5998cf5234483552ffb0af8deb9c952ba8103
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Wed Oct 7 13:36:53 2015 +0100

    calendar: Remove incorrect (allow-none) annotations
    
    gint64s can’t be allow-none. Spotted by Zeeshan Ali. This fixes building
    against the latest versions of gobject-introspection, which are stricter
    about warning about this kind of thing.

 gdata/services/calendar/gdata-calendar-query.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdata/services/calendar/gdata-calendar-query.c b/gdata/services/calendar/gdata-calendar-query.c
index 8198b89..1d4c391 100644
--- a/gdata/services/calendar/gdata-calendar-query.c
+++ b/gdata/services/calendar/gdata-calendar-query.c
@@ -504,8 +504,8 @@ gdata_calendar_query_new (const gchar *q)
 /**
  * gdata_calendar_query_new_with_limits:
  * @q: (allow-none): a query string, or %NULL
- * @start_min: (allow-none): a starting time for the event period, or %NULL
- * @start_max: (allow-none): an ending time for the event period, or %NULL
+ * @start_min: a starting time for the event period, or -1
+ * @start_max: an ending time for the event period, or -1
  *
  * Creates a new #GDataCalendarQuery with its #GDataQuery:q property set to @q, and the time limits 
@start_min and @start_max
  * applied.


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