Mercurial > pidgin.yaz
diff src/gtkdebug.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 | c342eb6e8cd3 |
children | 69b3d5cbd2b1 |
line wrap: on
line diff
--- a/src/gtkdebug.c Wed Jan 11 03:42:22 2006 +0000 +++ b/src/gtkdebug.c Wed Jan 11 04:32:12 2006 +0000 @@ -267,8 +267,8 @@ } static void -timestamps_pref_cb(const char *name, GaimPrefType type, gpointer value, - gpointer data) +timestamps_pref_cb(const char *name, GaimPrefType type, + gconstpointer value, gpointer data) { gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(data), GPOINTER_TO_INT(value)); } @@ -458,7 +458,7 @@ static void regex_pref_filter_cb(const gchar *name, GaimPrefType type, - gpointer val, gpointer data) + gconstpointer val, gpointer data) { DebugWindow *win = (DebugWindow *)data; gboolean active = GPOINTER_TO_INT(val), current; @@ -473,7 +473,7 @@ static void regex_pref_expression_cb(const gchar *name, GaimPrefType type, - gpointer val, gpointer data) + gconstpointer val, gpointer data) { DebugWindow *win = (DebugWindow *)data; const gchar *exp = (const gchar *)val; @@ -483,7 +483,7 @@ static void regex_pref_invert_cb(const gchar *name, GaimPrefType type, - gpointer val, gpointer data) + gconstpointer val, gpointer data) { DebugWindow *win = (DebugWindow *)data; gboolean active = GPOINTER_TO_INT(val); @@ -496,7 +496,7 @@ static void regex_pref_highlight_cb(const gchar *name, GaimPrefType type, - gpointer val, gpointer data) + gconstpointer val, gpointer data) { DebugWindow *win = (DebugWindow *)data; gboolean active = GPOINTER_TO_INT(val); @@ -789,8 +789,8 @@ } static void -debug_enabled_cb(const char *name, GaimPrefType type, gpointer value, - gpointer data) +debug_enabled_cb(const char *name, GaimPrefType type, + gconstpointer value, gpointer data) { if (value) gaim_gtk_debug_window_show();