summaryrefslogtreecommitdiff
path: root/src/gs-lock-plug.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-02-27 22:38:43 +0100
committerraveit65 <[email protected]>2020-03-13 16:43:30 +0100
commit242b68ceddb217a42547d578898be841dca2f4a3 (patch)
tree6e661efc8f713cf00400e7526b4c20c3659c2c81 /src/gs-lock-plug.c
parentec8db2297fc1d435d26de2006b429b1e6ffdc8a3 (diff)
downloadmate-screensaver-242b68ceddb217a42547d578898be841dca2f4a3.tar.bz2
mate-screensaver-242b68ceddb217a42547d578898be841dca2f4a3.tar.xz
Remove warnings: cast between incompatible function types
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)
{