Mercurial > pidgin.yaz
diff src/gtkconv.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 | ebef62bc831a |
children | 7b8e885c1be3 |
line wrap: on
line diff
--- a/src/gtkconv.c Wed Jan 11 03:42:22 2006 +0000 +++ b/src/gtkconv.c Wed Jan 11 04:32:12 2006 +0000 @@ -2590,7 +2590,8 @@ } static void -sound_method_pref_changed_cb(const char *name, GaimPrefType type, gpointer value, gpointer data) +sound_method_pref_changed_cb(const char *name, GaimPrefType type, + gconstpointer value, gpointer data) { GaimGtkWindow *win = data; const char *method = value; @@ -2614,7 +2615,8 @@ } static void -show_buddy_icons_pref_changed_cb(const char *name, GaimPrefType type, gpointer value, gpointer data) +show_buddy_icons_pref_changed_cb(const char *name, GaimPrefType type, + gconstpointer value, gpointer data) { GaimGtkWindow *win = data; gboolean show_icons = GPOINTER_TO_INT(value); @@ -5891,8 +5893,8 @@ } static void -close_on_tabs_pref_cb(const char *name, GaimPrefType type, gpointer value, - gpointer data) +close_on_tabs_pref_cb(const char *name, GaimPrefType type, + gconstpointer value, gpointer data) { GList *l; GaimConversation *conv; @@ -5914,8 +5916,8 @@ } static void -spellcheck_pref_cb(const char *name, GaimPrefType type, gpointer value, - gpointer data) +spellcheck_pref_cb(const char *name, GaimPrefType type, + gconstpointer value, gpointer data) { #ifdef USE_GTKSPELL GList *cl; @@ -5943,8 +5945,8 @@ } static void -tab_side_pref_cb(const char *name, GaimPrefType type, gpointer value, - gpointer data) +tab_side_pref_cb(const char *name, GaimPrefType type, + gconstpointer value, gpointer data) { GList *l; GtkPositionType pos; @@ -5961,7 +5963,7 @@ static void show_timestamps_pref_cb(const char *name, GaimPrefType type, - gpointer value, gpointer data) + gconstpointer value, gpointer data) { GList *l; GaimConversation *conv; @@ -5989,7 +5991,7 @@ static void show_formatting_toolbar_pref_cb(const char *name, GaimPrefType type, - gpointer value, gpointer data) + gconstpointer value, gpointer data) { GList *l; GaimConversation *conv; @@ -6019,7 +6021,7 @@ static void animate_buddy_icons_pref_cb(const char *name, GaimPrefType type, - gpointer value, gpointer data) + gconstpointer value, gpointer data) { GList *l; GaimConversation *conv; @@ -6045,8 +6047,8 @@ } static void -show_buddy_icons_pref_cb(const char *name, GaimPrefType type, gpointer value, - gpointer data) +show_buddy_icons_pref_cb(const char *name, GaimPrefType type, + gconstpointer value, gpointer data) { GList *l; @@ -6060,7 +6062,7 @@ static void conv_placement_usetabs_cb(const char *name, GaimPrefType type, - gpointer value, gpointer data) + gconstpointer value, gpointer data) { gaim_prefs_trigger_callback("/gaim/gtk/conversations/placement"); } @@ -6095,8 +6097,8 @@ } static void -hide_new_pref_cb(const char *name, GaimPrefType type, gpointer value, - gpointer data) +hide_new_pref_cb(const char *name, GaimPrefType type, + gconstpointer value, gpointer data) { GList *l; GaimConversation *conv = NULL; @@ -6130,7 +6132,7 @@ static void conv_placement_pref_cb(const char *name, GaimPrefType type, - gpointer value, gpointer data) + gconstpointer value, gpointer data) { GaimConvPlacementFunc func;