minor variable placement changes. added gboolean dbus_interface_exported,
which due to the guarantees of the name_lost, bus_acquired, and name_acquired
is a reliable source of whether not it is reasonable to try and unexport it
#include <unistd.h>
#include <limits.h>
+#include <signal.h>
#include <sys/param.h>
#include <string.h>
GPtrArray *localed_freeable;
Locale1 *localed_interf;
+GMainLoop *localed_loop;
+
+guint bus_descriptor;
+gboolean dbus_interface_exported; /* reliable because of gdbus operational guarantees */
+
/* --- begin method/property/dbus signal code --- */
/*static gboolean
int main() {
- guint bus_descriptor;
- GMainLoop *localed_loop;
-
localed_loop = g_main_loop_new(NULL, TRUE);
localed_freeable = g_ptr_array_new();
#include <unistd.h>
#include <limits.h>
+#include <signal.h>
#include <sys/param.h>
#include <string.h>
GPtrArray *logind_freeable;
Login1Manager *logind_interf;
+GMainLoop *logind_loop;
+
+guint bus_descriptor;
+gboolean dbus_interface_exported; /* reliable because of gdbus operational guarantees */
+
/* --- begin method/property/dbus signal code --- */
/*static gboolean
int main() {
- guint bus_descriptor;
- GMainLoop *logind_loop;
-
logind_loop = g_main_loop_new(NULL, TRUE);
logind_freeable = g_ptr_array_new();
#include <unistd.h>
#include <limits.h>
+#include <signal.h>
#include <sys/param.h>
#include <string.h>
GPtrArray *timedated_freeable;
Timedate1 *timedated_interf;
+GMainLoop *timedated_loop;
+
+guint bus_descriptor;
+gboolean dbus_interface_exported; /* reliable because of gdbus operational guarantees */
+
/* --- begin method/property/dbus signal code --- */
/*static gboolean
int main() {
- guint bus_descriptor;
- GMainLoop *timedated_loop;
-
timedated_loop = g_main_loop_new(NULL, TRUE);
timedated_freeable = g_ptr_array_new();