src: Use g_set_date_time()

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/873>
This commit is contained in:
Hari Rana
2026-10-25 19:48:04 +00:00
committed by Marge Bot
parent b50db7aa9d
commit 84875616ab
14 changed files with 30 additions and 30 deletions
+2 -2
View File
@@ -991,7 +991,7 @@ gcal_event_set_date_end (GcalEvent *self,
{
g_return_if_fail (GCAL_IS_EVENT (self));
if (gcal_set_date_time (&self->dt_end, dt))
if (g_set_date_time (&self->dt_end, dt))
{
ECalComponentDateTime *component_dt;
@@ -1037,7 +1037,7 @@ gcal_event_set_date_start (GcalEvent *self,
{
g_return_if_fail (GCAL_IS_EVENT (self));
if (gcal_set_date_time (&self->dt_start, dt))
if (g_set_date_time (&self->dt_start, dt))
{
ECalComponentDateTime *component_dt;