diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-05-02 09:32:54 +0100 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-05-02 09:32:54 +0100 |
commit | 160289f855182e9e2d00a91b38541d8e989eee17 (patch) | |
tree | 6adb479c0fffeef57a6c77c72ed5b642464c7597 /plugins | |
parent | 4722b731516f98a810b97d1be0c5762cb87d9432 (diff) | |
parent | 0d865efce5ca0840925abdca673a3f171258f767 (diff) |
Merge branch 'caps-hash'
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/test.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/test.c b/plugins/test.c index 678df2d8f..add4ba5fb 100644 --- a/plugins/test.c +++ b/plugins/test.c @@ -4,6 +4,8 @@ #include <telepathy-glib/telepathy-glib.h> +#include <wocky/wocky-disco-identity.h> + #include "extensions/extensions.h" #include <gabble/plugin.h> @@ -319,7 +321,7 @@ test_sidecar_iq_set_property ( const gchar *applications[] = { "com.example.test1", "com.example.test2", NULL }; GPtrArray *identities; - GabbleDiscoIdentity *identity; + WockyDiscoIdentity *identity; gchar *hash; guint i; @@ -327,8 +329,8 @@ test_sidecar_iq_set_property ( for (i = 0; applications[i] != NULL; i++) gabble_capability_set_add (features, applications[i]); - identities = gabble_disco_identity_array_new (); - identity = gabble_disco_identity_new ("test", "app-list", + identities = wocky_disco_identity_array_new (); + identity = wocky_disco_identity_new ("test", "app-list", NULL, "Test"); g_ptr_array_add (identities, identity); @@ -337,7 +339,7 @@ test_sidecar_iq_set_property ( features, identities); g_free (hash); - gabble_disco_identity_array_free (identities); + wocky_disco_identity_array_free (identities); gabble_capability_set_free (features); } } |