summaryrefslogtreecommitdiff
path: root/src/gs-lock-plug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-lock-plug.c')
-rw-r--r--src/gs-lock-plug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c
index fddce2a..cb27964 100644
--- a/src/gs-lock-plug.c
+++ b/src/gs-lock-plug.c
@@ -2141,7 +2141,7 @@ gs_lock_plug_init (GSLockPlug *plug)
date_time_update (plug);
gtk_widget_show_all (plug->priv->vbox);
}
- plug->priv->datetime_timeout_id = g_timeout_add_seconds (1, (GSourceFunc) date_time_update, plug);
+ plug->priv->datetime_timeout_id = g_timeout_add_seconds (1, G_SOURCE_FUNC (date_time_update), plug);
if (plug->priv->note_text_view != NULL)
{