[telepathy-glib/master] account{, -manager}: make prepare's feature list be const

Jonny Lamb jonny.lamb at collabora.co.uk
Thu Sep 24 09:36:06 PDT 2009


Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
 telepathy-glib/account-manager.c |    4 ++--
 telepathy-glib/account-manager.h |    2 +-
 telepathy-glib/account.c         |    4 ++--
 telepathy-glib/account.h         |    2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/telepathy-glib/account-manager.c b/telepathy-glib/account-manager.c
index d141f20..9580f16 100644
--- a/telepathy-glib/account-manager.c
+++ b/telepathy-glib/account-manager.c
@@ -96,7 +96,7 @@ typedef struct {
 
 typedef struct {
   GSimpleAsyncResult *result;
-  GQuark *features;
+  const GQuark *features;
 } TpAccountManagerFeatureCallback;
 
 #define MC5_BUS_NAME "org.freedesktop.Telepathy.MissionControl5"
@@ -1353,7 +1353,7 @@ tp_account_manager_is_ready (TpAccountManager *manager,
  */
 void
 tp_account_manager_prepare_async (TpAccountManager *manager,
-    GQuark* features,
+    const GQuark *features,
     GAsyncReadyCallback callback,
     gpointer user_data)
 {
diff --git a/telepathy-glib/account-manager.h b/telepathy-glib/account-manager.h
index 60fe49b..090ff39 100644
--- a/telepathy-glib/account-manager.h
+++ b/telepathy-glib/account-manager.h
@@ -98,7 +98,7 @@ gboolean tp_account_manager_is_ready (TpAccountManager *manager,
     GQuark feature);
 
 void tp_account_manager_prepare_async (TpAccountManager *manager,
-    GQuark* features, GAsyncReadyCallback callback, gpointer user_data);
+    const GQuark *features, GAsyncReadyCallback callback, gpointer user_data);
 
 gboolean tp_account_manager_prepare_finish (TpAccountManager *manager,
     GAsyncResult *result, GError **error);
diff --git a/telepathy-glib/account.c b/telepathy-glib/account.c
index 5dfcd02..c986da7 100644
--- a/telepathy-glib/account.c
+++ b/telepathy-glib/account.c
@@ -123,7 +123,7 @@ typedef struct {
 
 typedef struct {
   GSimpleAsyncResult *result;
-  GQuark *features;
+  const GQuark *features;
 } TpAccountFeatureCallback;
 
 G_DEFINE_TYPE (TpAccount, tp_account, TP_TYPE_PROXY);
@@ -2528,7 +2528,7 @@ tp_account_is_ready (TpAccount *account,
  */
 void
 tp_account_prepare_async (TpAccount *account,
-    GQuark* features,
+    const GQuark *features,
     GAsyncReadyCallback callback,
     gpointer user_data)
 {
diff --git a/telepathy-glib/account.h b/telepathy-glib/account.h
index b4bc7dc..a365607 100644
--- a/telepathy-glib/account.h
+++ b/telepathy-glib/account.h
@@ -187,7 +187,7 @@ const GArray *tp_account_get_avatar_finish (TpAccount *account,
 
 gboolean tp_account_is_ready (TpAccount *account, GQuark feature);
 
-void tp_account_prepare_async (TpAccount *account, GQuark* features,
+void tp_account_prepare_async (TpAccount *account, const GQuark *features,
     GAsyncReadyCallback callback, gpointer user_data);
 
 gboolean tp_account_prepare_finish (TpAccount *account, GAsyncResult *result,
-- 
1.5.6.5




More information about the telepathy-commits mailing list