[next] telepathy-glib: file-transfer-chan: set "" as default URI

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Mon Mar 3 02:12:22 PST 2014


Module: telepathy-glib
Branch: next
Commit: 29284bfcee8689f2de1ec54e4463bad4fe244d7f
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=29284bfcee8689f2de1ec54e4463bad4fe244d7f

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Fri Feb 28 11:27:20 2014 +0100

file-transfer-chan: set "" as default URI

NULL isn't a valid D-Bus property, breaking tp_asv_to_vardict().

---

 tests/lib/file-transfer-chan.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/lib/file-transfer-chan.c b/tests/lib/file-transfer-chan.c
index 813826e..87f6d3f 100644
--- a/tests/lib/file-transfer-chan.c
+++ b/tests/lib/file-transfer-chan.c
@@ -694,7 +694,7 @@ tp_tests_file_transfer_channel_class_init (
   param_spec = g_param_spec_string ("uri",
       "URI",
       "The URI property of this channel",
-      NULL,
+      "",
       G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
   g_object_class_install_property (object_class, PROP_URI,
       param_spec);



More information about the telepathy-commits mailing list