diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-05-26 01:30:59 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-05-26 01:30:59 +0200 |
commit | af351b01b3f1ed6436afb4d5088991f56f44f94e (patch) | |
tree | d9e0335dfe0df2a17cc43e1ec127800f7f250429 /src | |
parent | 0858a5689315cf31a4e96b4cb51b5f216cc4646e (diff) | |
download | ayatana-indicator-application-af351b01b3f1ed6436afb4d5088991f56f44f94e.tar.gz ayatana-indicator-application-af351b01b3f1ed6436afb4d5088991f56f44f94e.tar.bz2 ayatana-indicator-application-af351b01b3f1ed6436afb4d5088991f56f44f94e.zip |
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).
Diffstat (limited to 'src')
-rw-r--r-- | src/application-service-watcher.c | 52 |
1 files changed, 26 insertions, 26 deletions
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; } |