Documentation improvements

svn path=/trunk/; revision=7453
This commit is contained in:
Matthias Clasen 2008-09-11 04:21:17 +00:00
parent 8f85da0b5e
commit 6848d2578d
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2008-09-10 Matthias Clasen <mclasen@redhat.com>
Bug 551731 g_date_set_time[_t] docs should mention what timezone
* glib/gdate.c (g_date_set_time, g_date_set_time_t): Documentation
improvements proposed by Owen Taylor.
2008-09-10 Matthias Clasen <mclasen@redhat.com> 2008-09-10 Matthias Clasen <mclasen@redhat.com>
Bug 551410 gtestutils.c: using printf without prototype Bug 551410 gtestutils.c: using printf without prototype

View File

@ -861,7 +861,9 @@ g_date_set_parse (GDate *d,
* @date: a #GDate * @date: a #GDate
* @timet: <type>time_t</type> value to set * @timet: <type>time_t</type> value to set
* *
* Sets the value of a date from a <type>time_t</type> value. * Sets the value of a date to the date corresponding to a time
* specified as a time_t. The time to date conversion is done using
* the user's current timezone.
* *
* To set the value of a date to the current day, you could write: * To set the value of a date to the current day, you could write:
* |[ * |[
@ -920,6 +922,7 @@ g_date_set_time_t (GDate *date,
* @time_: #GTime value to set. * @time_: #GTime value to set.
* *
* Sets the value of a date from a #GTime value. * Sets the value of a date from a #GTime value.
* The time to date conversion is done using the user's current timezone.
* *
* @Deprecated:2.10: Use g_date_set_time_t() instead. * @Deprecated:2.10: Use g_date_set_time_t() instead.
*/ */