aboutsummaryrefslogtreecommitdiffstats
path: root/src/interfaces/localed/localed.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/localed/localed.c')
-rw-r--r--src/interfaces/localed/localed.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/interfaces/localed/localed.c b/src/interfaces/localed/localed.c
index 47c568a..a40e458 100644
--- a/src/interfaces/localed/localed.c
+++ b/src/interfaces/localed/localed.c
@@ -92,15 +92,6 @@ static void localed_on_name_acquired(GDBusConnection *conn,
}
-/* --- 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) {
@@ -112,6 +103,15 @@ static void localed_on_name_lost(GDBusConnection *conn,
}
+/* --- 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;