[Telepathy-commits] [telepathy-gabble/master] olpc-view.h: define GABBLE_ARRAY_TYPE_HANDLE as DBUS_TYPE_G_UINT_ARRAY
Simon McVittie
simon.mcvittie at collabora.co.uk
Tue Feb 24 04:23:41 PST 2009
dbus-glib has a handy macro for arrays of guint so we might as well use it.
---
src/olpc-view.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/olpc-view.h b/src/olpc-view.h
index d797245..3b284fc 100644
--- a/src/olpc-view.h
+++ b/src/olpc-view.h
@@ -102,8 +102,7 @@ void gabble_olpc_view_buddies_left_activity (GabbleOlpcView *self,
void gabble_olpc_view_close (GabbleOlpcView *self);
-#define GABBLE_ARRAY_TYPE_HANDLE (dbus_g_type_get_collection ("GArray", \
- G_TYPE_UINT))
+#define GABBLE_ARRAY_TYPE_HANDLE (DBUS_TYPE_G_UINT_ARRAY)
G_END_DECLS
--
1.5.6.5
More information about the telepathy-commits
mailing list