Mercurial > pidgin
comparison src/gtkprefs.c @ 12845:8ac4025810ab
[gaim-migrate @ 15193]
Compile warning fix when not compiling with libao
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 12 Jan 2006 03:48:42 +0000 |
parents | ff267281e882 |
children | e5f780a6137b |
comparison
equal
deleted
inserted
replaced
12844:890c6429bc61 | 12845:8ac4025810ab |
---|---|
1327 const char *method = value; | 1327 const char *method = value; |
1328 | 1328 |
1329 gtk_widget_set_sensitive(vbox, strcmp(method, "none")); | 1329 gtk_widget_set_sensitive(vbox, strcmp(method, "none")); |
1330 } | 1330 } |
1331 | 1331 |
1332 #ifdef USE_AO | |
1332 static void | 1333 static void |
1333 sound_changed3_cb(const char *name, GaimPrefType type, | 1334 sound_changed3_cb(const char *name, GaimPrefType type, |
1334 gconstpointer value, gpointer data) | 1335 gconstpointer value, gpointer data) |
1335 { | 1336 { |
1336 GtkWidget *hbox = data; | 1337 GtkWidget *hbox = data; |
1340 !strcmp(method, "automatic") || | 1341 !strcmp(method, "automatic") || |
1341 !strcmp(method, "arts") || | 1342 !strcmp(method, "arts") || |
1342 !strcmp(method, "esd") || | 1343 !strcmp(method, "esd") || |
1343 !strcmp(method, "nas")); | 1344 !strcmp(method, "nas")); |
1344 } | 1345 } |
1345 #endif | 1346 #endif /* USE_AO */ |
1347 #endif /* !_WIN32 */ | |
1346 | 1348 |
1347 | 1349 |
1348 static void | 1350 static void |
1349 event_toggled(GtkCellRendererToggle *cell, gchar *pth, gpointer data) | 1351 event_toggled(GtkCellRendererToggle *cell, gchar *pth, gpointer data) |
1350 { | 1352 { |