changeset 10075:4670b7fd1a89

[gaim-migrate @ 11055] <frenchfrog> nosnilmot? I think you have break something with your lastest patch to the cvs to gtkprefs.c: <frenchfrog> gtkprefs.c: In function `sound_page': <frenchfrog> gtkprefs.c:1720: `sound_changed2_cb' undeclared (first use in this function) <frenchfrog> gtkprefs.c:1720: (Each undeclared identifier is reported only once <frenchfrog> gtkprefs.c:1720: for each function it appears in.) <frenchfrog> btw i was trying a win32 build Sorry win32 guys. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sun, 03 Oct 2004 13:53:46 +0000
parents 2e225cd35615
children fbab7f05b054
files src/gtkprefs.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkprefs.c	Sat Oct 02 18:53:19 2004 +0000
+++ b/src/gtkprefs.c	Sun Oct 03 13:53:46 2004 +0000
@@ -1714,10 +1714,12 @@
 	gaim_gtk_prefs_checkbox(_("_Sounds while away"),
 				   "/core/sound/while_away", vbox);
 
+#ifndef _WIN32
 	gtk_widget_set_sensitive(vbox,
 			strcmp(gaim_prefs_get_string("/gaim/gtk/sound/method"), "none"));
 	sound_pref2_id = gaim_prefs_connect_callback("/gaim/gtk/sound/method",
 												  sound_changed2_cb, vbox);
+#endif
 
 	vbox = gaim_gtk_make_frame(ret, _("Sound Events"));
 
@@ -1809,10 +1811,12 @@
 	gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 1);
 	gtk_widget_show_all(ret);
 
+#ifndef _WIN32
 	gtk_widget_set_sensitive(vbox,
 			strcmp(gaim_prefs_get_string("/gaim/gtk/sound/method"), "none"));
 	sound_pref3_id = gaim_prefs_connect_callback("/gaim/gtk/sound/method",
 												  sound_changed2_cb, vbox);
+#endif
 
 	return ret;
 }