[farsight2/master] Remove error signal from upnp test
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:25:04 PST 2008
---
tests/upnp/test-thread.c | 8 --------
tests/upnp/test.c | 7 -------
2 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/tests/upnp/test-thread.c b/tests/upnp/test-thread.c
index a97c021..83ad9db 100644
--- a/tests/upnp/test-thread.c
+++ b/tests/upnp/test-thread.c
@@ -30,12 +30,6 @@ _error_mapping_external_port (FsUpnpSimpleIgd *igd, GError *error,
}
-static void
-_error (FsUpnpSimpleIgd *igd, GError *error, gpointer user_data)
-{
- g_error ("error: %s", error->message);
-}
-
int
main (int argc, char **argv)
{
@@ -62,8 +56,6 @@ main (int argc, char **argv)
g_signal_connect (igd, "mapped-external-port",
G_CALLBACK (_mapped_external_port),
NULL);
- g_signal_connect (igd, "error", G_CALLBACK (_error),
- NULL);
g_signal_connect (igd, "error-mapping-port",
G_CALLBACK (_error_mapping_external_port),
NULL);
diff --git a/tests/upnp/test.c b/tests/upnp/test.c
index b979631..725bc42 100644
--- a/tests/upnp/test.c
+++ b/tests/upnp/test.c
@@ -48,11 +48,6 @@ _error_mapping_external_port (FsUpnpSimpleIgd *igd, GError *error,
}
-static void
-_error (FsUpnpSimpleIgd *igd, GError *error, gpointer user_data)
-{
- g_error ("error: %s", error->message);
-}
int
main (int argc, char **argv)
{
@@ -79,8 +74,6 @@ main (int argc, char **argv)
g_signal_connect (igd, "mapped-external-port",
G_CALLBACK (_mapped_external_port),
NULL);
- g_signal_connect (igd, "error", G_CALLBACK (_error),
- NULL);
g_signal_connect (igd, "error-mapping-port",
G_CALLBACK (_error_mapping_external_port),
NULL);
--
1.5.6.5
More information about the farsight-commits
mailing list