From 8780dc7ad37a5ff5b1b234a3351a72227c80b3fa Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 12 Apr 2011 15:07:52 +0200 Subject: [PATCH] tp_proxy_add_interfaces: interfaces is a 'const gchar * const *' --- telepathy-glib/proxy-subclass.h | 2 +- telepathy-glib/proxy.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/telepathy-glib/proxy-subclass.h b/telepathy-glib/proxy-subclass.h index 6071d06..7399954 100644 --- a/telepathy-glib/proxy-subclass.h +++ b/telepathy-glib/proxy-subclass.h @@ -65,7 +65,7 @@ DBusGProxy *tp_proxy_borrow_interface_by_id (TpProxy *self, GQuark iface, GError **error); DBusGProxy *tp_proxy_add_interface_by_id (TpProxy *self, GQuark iface); -void tp_proxy_add_interfaces (TpProxy *self, const gchar **interfaces); +void tp_proxy_add_interfaces (TpProxy *self, const gchar * const *interfaces); void tp_proxy_invalidate (TpProxy *self, const GError *error); diff --git a/telepathy-glib/proxy.c b/telepathy-glib/proxy.c index 93c102c..354e812 100644 --- a/telepathy-glib/proxy.c +++ b/telepathy-glib/proxy.c @@ -651,9 +651,9 @@ tp_proxy_add_interface_by_id (TpProxy *self, */ void tp_proxy_add_interfaces (TpProxy *self, - const gchar **interfaces) + const gchar * const *interfaces) { - const gchar **iter; + const gchar * const *iter; if (G_UNLIKELY (interfaces == NULL)) return; -- 1.7.4.1