g_type_init ();
- connection = g_bus_get_sync (G_BUS_TYPE_STARTER, NULL, &error);
+ connection = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error);
if (connection == NULL) {
g_printerr ("Failed to get bus connection: %s\n", error->message);
g_error_free (error);