From e9fcecdeba5c70c2035d47ac20c6fb433b2471af Mon Sep 17 00:00:00 2001 From: Alexandre Rostovtsev Date: Wed, 5 Sep 2012 16:54:36 -0400 Subject: Forgot to set data->invocation --- src/timedated.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/timedated.c b/src/timedated.c index bb16cf0..6247679 100644 --- a/src/timedated.c +++ b/src/timedated.c @@ -555,6 +555,7 @@ on_handle_set_local_rtc (OpenrcSettingsdTimedatedTimedate1 *timedate1, else { struct invoked_set_local_rtc *data; data = g_new0 (struct invoked_set_local_rtc, 1); + data->invocation = invocation; data->local_rtc = _local_rtc; data->fix_system = fix_system; check_polkit_async (g_dbus_method_invocation_get_sender (invocation), "org.freedesktop.timedate1.set-local-rtc", user_interaction, on_handle_set_local_rtc_authorized_cb, data); @@ -617,6 +618,7 @@ on_handle_set_ntp (OpenrcSettingsdTimedatedTimedate1 *timedate1, else { struct invoked_set_ntp *data; data = g_new0 (struct invoked_set_ntp, 1); + data->invocation = invocation; data->use_ntp = _use_ntp; check_polkit_async (g_dbus_method_invocation_get_sender (invocation), "org.freedesktop.timedate1.set-ntp", user_interaction, on_handle_set_ntp_authorized_cb, data); } -- cgit v1.2.3-65-gdbad