summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-09-04 15:08:05 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2010-09-04 15:08:05 +0200
commit2e1a78151f02468a3ea5e806a750443aef44f10d (patch)
treec9908699bbe5bd52c8c661fd6c01ba2ff1421b7c
parentff98a0702c71e1b729ed227b202ec40edb7b2d9c (diff)
Connect GThreadedSocketService to 'run' instead of 'incoming'.
-rw-r--r--command_service.c2
-rw-r--r--control_service.c2
-rw-r--r--httpd.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/command_service.c b/command_service.c
index 1169432..ce1589d 100644
--- a/command_service.c
+++ b/command_service.c
@@ -54,7 +54,7 @@ gboolean server_start() {
return FALSE;
}
- g_signal_connect(ss, "incoming", (GCallback)service_incoming, NULL);
+ g_signal_connect(ss, "run", (GCallback)service_incoming, NULL);
g_socket_service_start(ss);
return TRUE;
diff --git a/control_service.c b/control_service.c
index 46f8f8c..127beee 100644
--- a/control_service.c
+++ b/control_service.c
@@ -65,7 +65,7 @@ gboolean control_service_start() {
return FALSE;
}
- g_signal_connect(ss, "incoming", (GCallback)service_incoming, NULL);
+ g_signal_connect(ss, "run", (GCallback)service_incoming, NULL);
g_socket_service_start((GSocketService*)ss);
diff --git a/httpd.c b/httpd.c
index 121e13e..38ef8c1 100644
--- a/httpd.c
+++ b/httpd.c
@@ -77,7 +77,7 @@ gboolean httpd_start() {
return FALSE;
}
- g_signal_connect(ss, "incoming", (GCallback)service_incoming, NULL);
+ g_signal_connect(ss, "run", (GCallback)service_incoming, NULL);
g_socket_service_start(ss);
return TRUE;