}
-/* --- end bus/name handlers, begin misc unix functions --- */
-
-/* free()'s */
-void localed_mem_clean() {
-
- g_ptr_array_foreach(localed_freeable, (GFunc) g_free, NULL);
- g_ptr_array_free(localed_freeable, TRUE);
-}
-
static void localed_on_name_lost(GDBusConnection *conn,
const gchar *name,
gpointer user_data) {
}
+/* --- end bus/name handlers, begin misc unix functions --- */
+
+/* free()'s */
+void localed_mem_clean() {
+
+ g_ptr_array_foreach(localed_freeable, (GFunc) g_free, NULL);
+ g_ptr_array_free(localed_freeable, TRUE);
+}
+
int main() {
guint bus_descriptor;
}
-/* --- end bus/name handlers, begin misc unix functions --- */
-
-/* free()'s */
-void logind_mem_clean() {
-
- g_ptr_array_foreach(logind_freeable, (GFunc) g_free, NULL);
- g_ptr_array_free(logind_freeable, TRUE);
-}
-
static void logind_on_name_lost(GDBusConnection *conn,
const gchar *name,
gpointer user_data) {
}
+/* --- end bus/name handlers, begin misc unix functions --- */
+
+/* free()'s */
+void logind_mem_clean() {
+
+ g_ptr_array_foreach(logind_freeable, (GFunc) g_free, NULL);
+ g_ptr_array_free(logind_freeable, TRUE);
+}
+
int main() {
guint bus_descriptor;
}
-/* --- end bus/name handlers, begin misc unix functions --- */
-
-/* free()'s */
-void timedated_mem_clean() {
-
- g_ptr_array_foreach(timedated_freeable, (GFunc) g_free, NULL);
- g_ptr_array_free(timedated_freeable, TRUE);
-}
-
static void timedated_on_name_lost(GDBusConnection *conn,
const gchar *name,
gpointer user_data) {
}
+/* --- end bus/name handlers, begin misc unix functions --- */
+
+/* free()'s */
+void timedated_mem_clean() {
+
+ g_ptr_array_foreach(timedated_freeable, (GFunc) g_free, NULL);
+ g_ptr_array_free(timedated_freeable, TRUE);
+}
+
int main() {
guint bus_descriptor;