aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/datetime-service.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c
index 3738084..e7fc631 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -1276,6 +1276,8 @@ on_use_geoclue_changed_cb (GSettings *settings,
int
main (int argc, char ** argv)
{
+ gtk_init (&argc, &argv);
+
/* Acknowledging the service init and setting up the interface */
service = indicator_service_new_version(SERVICE_NAME, SERVICE_VERSION);
g_signal_connect(service, INDICATOR_SERVICE_SIGNAL_SHUTDOWN, G_CALLBACK(service_shutdown), NULL);