diff src/gtkprefs.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 a8bffa7fb6ac
children 8ac4025810ab
line wrap: on
line diff
--- a/src/gtkprefs.c	Wed Jan 11 03:42:22 2006 +0000
+++ b/src/gtkprefs.c	Wed Jan 11 04:32:12 2006 +0000
@@ -781,8 +781,8 @@
 }
 
 static void
-conversation_usetabs_cb(const char *name, GaimPrefType type, gpointer value,
-                          gpointer data)
+conversation_usetabs_cb(const char *name, GaimPrefType type,
+						gconstpointer value, gpointer data)
 {
 	gboolean usetabs = GPOINTER_TO_INT(value);
 
@@ -928,8 +928,8 @@
 }
 
 static void
-proxy_changed_cb(const char *name, GaimPrefType type, gpointer value,
-		gpointer data)
+proxy_changed_cb(const char *name, GaimPrefType type,
+				 gconstpointer value, gpointer data)
 {
 	GtkWidget *frame = data;
 	const char *proxy = value;
@@ -1180,8 +1180,8 @@
 }
 
 static void
-browser_changed1_cb(const char *name, GaimPrefType type, gpointer value,
-				   gpointer data)
+browser_changed1_cb(const char *name, GaimPrefType type,
+					gconstpointer value, gpointer data)
 {
 	GtkWidget *hbox = data;
 	const char *browser = value;
@@ -1190,8 +1190,8 @@
 }
 
 static void
-browser_changed2_cb(const char *name, GaimPrefType type, gpointer value,
-				   gpointer data)
+browser_changed2_cb(const char *name, GaimPrefType type,
+					gconstpointer value, gpointer data)
 {
 	GtkWidget *hbox = data;
 	const char *browser = value;
@@ -1310,8 +1310,8 @@
 }
 
 static void
-sound_changed1_cb(const char *name, GaimPrefType type, gpointer value,
-				   gpointer data)
+sound_changed1_cb(const char *name, GaimPrefType type,
+				  gconstpointer value, gpointer data)
 {
 	GtkWidget *hbox = data;
 	const char *method = value;
@@ -1320,8 +1320,8 @@
 }
 
 static void
-sound_changed2_cb(const char *name, GaimPrefType type, gpointer value,
-				   gpointer data)
+sound_changed2_cb(const char *name, GaimPrefType type,
+				  gconstpointer value, gpointer data)
 {
 	GtkWidget *vbox = data;
 	const char *method = value;
@@ -1330,8 +1330,8 @@
 }
 
 static void
-sound_changed3_cb(const char *name, GaimPrefType type, gpointer value,
-				   gpointer data)
+sound_changed3_cb(const char *name, GaimPrefType type,
+				  gconstpointer value, gpointer data)
 {
 	GtkWidget *hbox = data;
 	const char *method = value;
@@ -1907,8 +1907,8 @@
 }
 
 static void
-smiley_theme_pref_cb(const char *name, GaimPrefType type, gpointer value,
-					 gpointer data)
+smiley_theme_pref_cb(const char *name, GaimPrefType type,
+					 gconstpointer value, gpointer data)
 {
 	const char *themename = value;
 	GSList *themes;