[glib] [mainloop-test] Fix compilation errors
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] [mainloop-test] Fix compilation errors
- Date: Wed, 26 May 2010 20:21:27 +0000 (UTC)
commit 183102104a3762bab4c50fc54cd11979ca085859
Author: Colin Walters <walters verbum org>
Date: Wed May 26 16:21:15 2010 -0400
[mainloop-test] Fix compilation errors
tests/mainloop-test.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/mainloop-test.c b/tests/mainloop-test.c
index 5fa7931..cf38e09 100644
--- a/tests/mainloop-test.c
+++ b/tests/mainloop-test.c
@@ -158,13 +158,13 @@ adder_thread (gpointer data)
addr_data.count = 0;
adder_source = g_io_create_watch (channels[0], G_IO_IN | G_IO_HUP);
- g_source_set_name (source, "Adder I/O");
+ g_source_set_name (adder_source, "Adder I/O");
g_source_set_callback (adder_source, (GSourceFunc)adder_callback, &addr_data, NULL);
g_source_attach (adder_source, context);
g_source_unref (adder_source);
timeout_source = g_timeout_source_new (10);
- g_source_set_name (source, "Adder timeout");
+ g_source_set_name (timeout_source, "Adder timeout");
g_source_set_callback (timeout_source, (GSourceFunc)timeout_callback, &addr_data, NULL);
g_source_set_priority (timeout_source, G_PRIORITY_HIGH);
g_source_attach (timeout_source, context);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]