diff options
Diffstat (limited to 'src/libical-glib/api/i-cal-time.xml')
-rw-r--r-- | src/libical-glib/api/i-cal-time.xml | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/libical-glib/api/i-cal-time.xml b/src/libical-glib/api/i-cal-time.xml index 62f894ad..d15bb7e9 100644 --- a/src/libical-glib/api/i-cal-time.xml +++ b/src/libical-glib/api/i-cal-time.xml @@ -1,17 +1,9 @@ <!-- - Copyright (C) 2015 William Yu <williamyu@gnome.org> + SPDX-FileCopyrightText: 2015 William Yu <williamyu@gnome.org> - This library is free software: you can redistribute it and/or modify it - under the terms of version 2.1. of the GNU Lesser General Public License - as published by the Free Software Foundation. + SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0 - This library is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - for more details. - You should have received a copy of the GNU Lesser General Public License - along with this library. If not, see <https://www.gnu.org/licenses/>. --> <structure namespace="ICal" name="Time" native="struct icaltimetype" is_bare="true" default_native="icaltime_null_time()"> <method name="i_cal_time_new" corresponds="CUSTOM" kind="constructor" since="1.0"> @@ -25,7 +17,7 @@ <comment xml:space="preserve">Creates a new #ICalTime, copy of @timetype.</comment> <custom> struct icaltimetype *itt; - g_return_val_if_fail(I_CAL_IS_TIME(timetype), NULL); + g_return_val_if_fail(I_CAL_IS_TIME((ICalTime *)timetype), NULL); itt = (struct icaltimetype *)i_cal_object_get_native ((ICalObject *)timetype); g_return_val_if_fail(itt != NULL, NULL); @@ -174,7 +166,7 @@ <method name="i_cal_time_normalize_inplace" corresponds="CUSTOM" since="3.0.5"> <parameter type="ICalTime *" name="tt" comment="The #ICalTime to be normalized"/> <comment xml:space="preserve">Normalizes the @tt, so that all fields are within the normal range.</comment> - <custom xml:space="preserve"> icaltimetype *itt; + <custom xml:space="preserve"> icaltimetype *itt; g_return_if_fail(I_CAL_IS_TIME (tt)); |