[Bug 30461] Review Conn.I.Resources

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 25 17:56:05 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=30461

--- Comment #3 from Jonny Lamb <jonny.lamb at collabora.co.uk> 2010-10-25 08:56:04 PDT ---
(In reply to comment #2)
> Regression tests are still good

Okay, added one.

> (a dbus-glib 'as' is a GStrv, not a GPtrArray<string>).

16:40 < jonnylamb> smcv: so 'as' in dbus-glib is a gchar**, not a 
                   GPtrArray<gchar*>? hm, so how does it work currently?!
16:42 < smcv> jonnylamb: it = ?
16:43 < smcv> jonnylamb: the GType for 'as' in places where there's no better 
              context is a GStrv
16:43 < smcv> jonnylamb: dbus-glib might support GPtrArray<string> as an 
              alternative (de)serialization if you explicitly ask for it
16:43 < jonnylamb> smcv: client types in gabble master and my resources 
                   branch. both do the same thing which is give a 
                   GPtrArray<gchar*> when an 'as' is expected.
16:43 < jonnylamb> smcv: *and conn.i.resources in my resource branch
16:45 < smcv> jonnylamb: if there is somewhere where you can explicitly say 
              dbus_g_type_get_collection ("GPtrArray", G_TYPE_STRING), and you 
              do, then dbus-glib might well support that
16:45 < jonnylamb> ah yes that's what I'm doing

So, like, it works fine as a GPtrArray.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list