[gnome-calendar] date-selector: added docs



commit 70fa71492ebe128cbf3e09b32f48f878438dfc62
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Dec 23 14:24:16 2014 -0200

    date-selector: added docs

 src/gcal-date-selector.c |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-date-selector.c b/src/gcal-date-selector.c
index 3cbf4bc..d48d2d8 100644
--- a/src/gcal-date-selector.c
+++ b/src/gcal-date-selector.c
@@ -392,6 +392,15 @@ gcal_date_selector_new (void)
   return g_object_new (GCAL_TYPE_DATE_SELECTOR, NULL);
 }
 
+/**
+ * gcal_date_selector_set_date:
+ * @selector:
+ * @day:  (nullable): The day number.
+ * @month: (nullable): The month number starting with 1
+ * @year: (nullable): The year number
+ *
+ * Set the value of the date shown
+ **/
 void
 gcal_date_selector_set_date (GcalDateSelector *selector,
                              gint              day,
@@ -460,6 +469,15 @@ gcal_date_selector_set_date (GcalDateSelector *selector,
   g_date_time_unref (dt);
 }
 
+/**
+ * gcal_date_selector_get_date:
+ * @selector:
+ * @day:  (nullable): An out argument to hold the day number
+ * @month: (nullable): An out argument to hold the month number starting with 1
+ * @year: (nullable): An out argument to hold the year number
+ *
+ * Get the value of the date shown
+ **/
 void
 gcal_date_selector_get_date (GcalDateSelector *selector,
                              gint             *day,


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