Mercurial > audlegacy
changeset 4047:92e3662004d6
Use "gpointer cfg;" instead of "gboolean *cfg;" to avoid warnings when setting a string.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sat, 01 Dec 2007 07:41:56 -0600 |
parents | f81e86d8e8e4 |
children | b5a61f28daba |
files | src/audacious/ui_preferences.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/ui_preferences.c Sat Dec 01 14:34:49 2007 +0100 +++ b/src/audacious/ui_preferences.c Sat Dec 01 07:41:56 2007 -0600 @@ -172,7 +172,7 @@ typedef struct { WidgetType type; /* widget type */ char *label; /* widget title (for SPIN_BTN it's text left to widget)*/ - gboolean *cfg; /* connected config value */ + gpointer cfg; /* connected config value */ void (*callback) (void); /* this func will be called after value change, can be NULL */ char *tooltip; /* widget tooltip (for SPIN_BTN it's text right to widget), can be NULL */ gboolean child;