diff options
author | Jussi Kukkonen <jku@openedhand.com> | 2008-06-06 11:18:46 +0000 |
---|---|---|
committer | Jussi Kukkonen <jku@openedhand.com> | 2008-06-06 11:18:46 +0000 |
commit | 364a0045a13df2e5aec4c7c5a3a33796ea015365 (patch) | |
tree | 46390bafcc1d75a4ad515215c546ffd102013905 /tests | |
parent | 3e4c2972fe4460df137c75972637d3d52edd99a0 (diff) | |
download | gupnp-vala-364a0045a13df2e5aec4c7c5a3a33796ea015365.tar.gz |
* gupnp-1.0/gupnp-1.0.metadata:
* tests/server-test.vala:
Hide Service.signals_autoconnect(), it's not usable from Vala
git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/bindings/gupnp-vala@1033 d8cb91d7-bff9-0310-92b9-80b65e4482b2
Diffstat (limited to 'tests')
-rw-r--r-- | tests/server-test.vala | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/server-test.vala b/tests/server-test.vala index 41a9b5d..455b1ed 100644 --- a/tests/server-test.vala +++ b/tests/server-test.vala @@ -3,6 +3,8 @@ using GUPnP; /* * TODO: + * * make this example actually work ... + * * * call setlocale * * SIGTERM handler? */ @@ -46,12 +48,10 @@ public class Test.ServerTest : GLib.Object { (GUPnP.Service) dev.get_service ( "urn:schemas-upnp-org:service:ContentDirectory"); if (content_dir != null) { - try { - content_dir.signals_autoconnect (null); - } catch (GLib.Error err) { - GLib.warning ("Failed to autoconnect signals: %s", - err.message); - } + + warning ("Service signal handling not implemented yet\n"); + /* TODO: connect service signal handlers */ + content_dir.notify_failed += on_notify_failed; GLib.Timeout.add (5000, timeout); |