telepathy-gabble: Don't put const before GSList, the g_slist* functions aren't const-marked
Will Thompson
wjt at kemper.freedesktop.org
Wed Nov 21 10:00:58 PST 2012
Module: telepathy-gabble
Branch: master
Commit: 28ddadbd3a3ce84bf3619d83dee005d320f3a915
URL: http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=28ddadbd3a3ce84bf3619d83dee005d320f3a915
Author: Olivier Crête <olivier.crete at collabora.co.uk>
Date: Tue Mar 1 14:22:37 2011 -0500
Don't put const before GSList, the g_slist* functions aren't const-marked
---
src/auth-manager.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/auth-manager.c b/src/auth-manager.c
index fd90bf5..fac0f7b 100644
--- a/src/auth-manager.c
+++ b/src/auth-manager.c
@@ -293,7 +293,7 @@ finally:
static void
gabble_auth_manager_start_auth_async (WockyAuthRegistry *registry,
- const GSList *mechanisms,
+ GSList *mechanisms,
gboolean allow_plain,
gboolean is_secure_channel,
const gchar *username,
@@ -312,7 +312,7 @@ gabble_auth_manager_start_auth_async (WockyAuthRegistry *registry,
if (password == NULL || username == NULL)
{
GPtrArray *mech_array = g_ptr_array_new ();
- const GSList *iter;
+ GSList *iter;
for (iter = mechanisms; iter != NULL; iter = iter->next)
{
More information about the telepathy-commits
mailing list