diff options
author | Ted Gould <ted@gould.cx> | 2009-12-02 15:15:03 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2009-12-02 15:15:03 -0600 |
commit | 6bbe989007e7363daf84d6779d80312ee73daf60 (patch) | |
tree | 1dab91b3f16e07c6e94d8aba07f666db951bedd0 | |
parent | 18351a81c96b2d9299cda2fdb2e13901bead7cb1 (diff) | |
download | libayatana-indicator-6bbe989007e7363daf84d6779d80312ee73daf60.tar.gz libayatana-indicator-6bbe989007e7363daf84d6779d80312ee73daf60.tar.bz2 libayatana-indicator-6bbe989007e7363daf84d6779d80312ee73daf60.zip |
Printing out the session bus address
-rw-r--r-- | tests/service-version-manager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/service-version-manager.c b/tests/service-version-manager.c index ca29ea7..b5bb807 100644 --- a/tests/service-version-manager.c +++ b/tests/service-version-manager.c @@ -10,7 +10,7 @@ static gboolean con_bad = FALSE; gboolean timeout (gpointer data) { - g_error("Timeout."); + g_debug("Timeout."); g_main_loop_quit(mainloop); return FALSE; } @@ -36,6 +36,7 @@ main (int argc, char ** argv) { g_type_init(); g_log_set_always_fatal(G_LOG_LEVEL_CRITICAL); + g_print("Manager: DBUS_SESSION_BUS_ADDRESS = %s\n", g_getenv("DBUS_SESSION_BUS_ADDRESS")); IndicatorServiceManager * goodis = indicator_service_manager_new_version("org.ayatana.version.good", SERVICE_VERSION_GOOD); g_signal_connect(G_OBJECT(goodis), INDICATOR_SERVICE_MANAGER_SIGNAL_CONNECTION_CHANGE, connection_good, NULL); |