diff src/gtkstatusbox.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 57d94c725dbc
children 0f40c44348f4
line wrap: on
line diff
--- a/src/gtkstatusbox.c	Wed Jan 11 03:42:22 2006 +0000
+++ b/src/gtkstatusbox.c	Wed Jan 11 04:32:12 2006 +0000
@@ -621,7 +621,7 @@
 
 static void
 current_status_pref_changed_cb(const char *name, GaimPrefType type,
-							   gpointer val, gpointer data)
+							   gconstpointer val, gpointer data)
 {
 	GtkGaimStatusBox *box = data;
 
@@ -637,7 +637,7 @@
 
 static void
 buddy_list_details_pref_changed_cb(const char *name, GaimPrefType type,
-							   gpointer val, gpointer data)
+								   gconstpointer val, gpointer data)
 {
 	GtkGaimStatusBox *status_box = (GtkGaimStatusBox *)data;
 
@@ -648,7 +648,7 @@
 
 static void
 spellcheck_prefs_cb(const char *name, GaimPrefType type,
-					 gpointer value, gpointer data)
+					gconstpointer value, gpointer data)
 {
 #ifdef USE_GTKSPELL
 	GtkGaimStatusBox *status_box = (GtkGaimStatusBox *)data;