From: Stu T. <nos...@us...> - 2004-10-03 13:54:10
|
Update of /cvsroot/gaim/gaim/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29482/src Modified Files: gtkprefs.c Log Message: <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. Index: gtkprefs.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/gtkprefs.c,v retrieving revision 1.210 retrieving revision 1.211 diff -u -d -p -r1.210 -r1.211 --- gtkprefs.c 2 Oct 2004 18:53:19 -0000 1.210 +++ gtkprefs.c 3 Oct 2004 13:53:46 -0000 1.211 @@ -1714,10 +1714,12 @@ GtkWidget *sound_page() { 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 @@ GtkWidget *sound_page() { 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; } |