summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2005-01-30 20:06:52 +0000
committerHavoc Pennington <hp@redhat.com>2005-01-30 20:06:52 +0000
commit4d985d98906577e3344fc1107d341b8ac969db1e (patch)
tree78336489b79e0758e58da6a51e79f0f483d3c603 /test
parent191adf353049ca89962a871e8dac7f1621b2dd87 (diff)
2005-01-30 Havoc Pennington <hp@redhat.com>
* glib/dbus-gmain.c: add a custom GSource back that just checks whether the message queue has anything in it; otherwise, there are cases where we won't see messages in the queue since there was no IO visible to the glib main loop * dbus/dbus-connection-internal.h (_DBUS_DEFAULT_TIMEOUT_VALUE): increase default message timeout to 25 seconds
Diffstat (limited to 'test')
-rw-r--r--test/glib/test-service-glib.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/glib/test-service-glib.c b/test/glib/test-service-glib.c
index 413bcc20..2fa3095c 100644
--- a/test/glib/test-service-glib.c
+++ b/test/glib/test-service-glib.c
@@ -128,8 +128,10 @@ main (int argc, char **argv)
DBusGPendingCall *call;
const char *v_STRING;
guint32 v_UINT32;
-
+
g_type_init ();
+
+ g_printerr ("Launching test-service-glib\n");
loop = g_main_loop_new (NULL, FALSE);
@@ -182,12 +184,12 @@ main (int argc, char **argv)
exit (1);
}
- g_print ("GLib test service has name '%s'\n", v_STRING);
- g_print ("GLib test service entering main loop\n");
+ g_printerr ("GLib test service has name '%s'\n", v_STRING);
+ g_printerr ("GLib test service entering main loop\n");
g_main_loop_run (loop);
- g_print ("Successfully completed %s\n", argv[0]);
+ g_printerr ("Successfully completed %s\n", argv[0]);
return 0;
}