+static void timedated_on_name_acquired(GDBusConnection *conn,
+ const gchar *name,
+ gpointer user_data) {
+
+ g_printf("success!\n");
+}
+
+static void timedated_on_name_lost(GDBusConnection *conn,
+ const gchar *name,
+ gpointer user_data) {
+
+ if(!conn) {
+
+ g_printf("failed to connect to the system bus while trying to acquire name '%s': either dbus-daemon isn't running or we don't have permission to push names and/or their interfaces to it.\n", name);
+ timedated_mem_clean();
+ }
+
+ g_print("lost name %s, exiting...\n", name);
+
+ timedated_mem_clean();