From af351b01b3f1ed6436afb4d5088991f56f44f94e Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 26 May 2017 01:30:59 +0200 Subject: src/application-service-watcher.c: Comment out upstart specific code for now. We can reintroduce it once we know if our session is upstart-managed (or systemd-managed). --- src/application-service-watcher.c | 52 +++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'src') diff --git a/src/application-service-watcher.c b/src/application-service-watcher.c index 8ccce9b..6449243 100644 --- a/src/application-service-watcher.c +++ b/src/application-service-watcher.c @@ -292,32 +292,32 @@ get_name_cb (DBusGProxy * proxy, guint status, GError * error, gpointer data) the jobs of any application indicators that need to start at desktop init time. */ - GError * spawn_error = NULL; - gchar * argv[] = { - "initctl", - "--session", - "--user", - "emit", - "--no-wait", - "appindicators-start", - NULL, - }; - - g_spawn_async(NULL, /* Working Directory */ - argv, - NULL, /* environment */ - G_SPAWN_SEARCH_PATH, - NULL, NULL, /* child setup function */ - NULL, /* Pid */ - &spawn_error); - - if (spawn_error != NULL) { - /* NOTE: When we get to the point where we can start - assuming upstart user sessions this can be escillated - to a warning or higher */ - g_debug("Unable to signal appindicators-start to upstart: %s", spawn_error->message); - g_error_free(spawn_error); - } +// GError * spawn_error = NULL; +// gchar * argv[] = { +// "initctl", +// "--session", +// "--user", +// "emit", +// "--no-wait", +// "appindicators-start", +// NULL, +// }; +// +// g_spawn_async(NULL, /* Working Directory */ +// argv, +// NULL, /* environment */ +// G_SPAWN_SEARCH_PATH, +// NULL, NULL, /* child setup function */ +// NULL, /* Pid */ +// &spawn_error); +// +// if (spawn_error != NULL) { +// /* NOTE: When we get to the point where we can start +// assuming upstart user sessions this can be escillated +// to a warning or higher */ +// g_debug("Unable to signal appindicators-start to upstart: %s", spawn_error->message); +// g_error_free(spawn_error); +// } return; } -- cgit v1.2.3