diff src/proxy.c @ 12816:ff267281e882

[gaim-migrate @ 15164] Get rid of a compile warning by changing the definition of (*GaimPrefCallback) to pass a gconstpointer val instead of gpointer committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 11 Jan 2006 04:32:12 +0000
parents ac41924f8bb0
children 36930e2a461e
line wrap: on
line diff
--- a/src/proxy.c	Wed Jan 11 03:42:22 2006 +0000
+++ b/src/proxy.c	Wed Jan 11 04:32:12 2006 +0000
@@ -2065,14 +2065,14 @@
 
 
 static void
-proxy_pref_cb(const char *name, GaimPrefType type, gpointer value,
-			  gpointer data)
+proxy_pref_cb(const char *name, GaimPrefType type,
+			  gconstpointer value, gpointer data)
 {
 	GaimProxyInfo *info = gaim_global_proxy_get_info();
 
 	if (!strcmp(name, "/core/proxy/type")) {
 		int proxytype;
-		char *type = value;
+		const char *type = value;
 
 		if (!strcmp(type, "none"))
 			proxytype = GAIM_PROXY_NONE;