[Bug 34881] Don't use const with GList
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jul 5 19:39:42 CEST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=34881
--- Comment #2 from Will Thompson <will.thompson at collabora.co.uk> 2011-07-05 10:39:39 PDT ---
I think I basically agree—it's weird that you were seeing warnings on MeeGo
though, I don't see them here.
That said, if you're gonna go through and remove all the 'const's, at least
remove the casts that are only necessary because of them. e.g.:
static gboolean
-wocky_auth_registry_has_mechanism (const GSList *list, const gchar *mech) {
+wocky_auth_registry_has_mechanism (GSList *list, const gchar *mech) {
GSList *t;
t = g_slist_find_custom ((GSList *) list, mech, (GCompareFunc) g_strcmp0);
^^^^^^^^^^^^^^^
--
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