comparison src/status.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 eda1572c788b
children b93240522baa
comparison
equal deleted inserted replaced
12815:a8bffa7fb6ac 12816:ff267281e882
1636 1636
1637 /************************************************************************** 1637 /**************************************************************************
1638 * Status subsystem 1638 * Status subsystem
1639 **************************************************************************/ 1639 **************************************************************************/
1640 static void 1640 static void
1641 score_pref_changed_cb(const char *name, GaimPrefType type, gpointer value, 1641 score_pref_changed_cb(const char *name, GaimPrefType type,
1642 gpointer data) 1642 gconstpointer value, gpointer data)
1643 { 1643 {
1644 int index = GPOINTER_TO_INT(data); 1644 int index = GPOINTER_TO_INT(data);
1645 1645
1646 primitive_scores[index] = GPOINTER_TO_INT(value); 1646 primitive_scores[index] = GPOINTER_TO_INT(value);
1647 } 1647 }