changeset 3821:1a3b3f8ada2d

[gaim-migrate @ 3970] Unused variables are bad.... mmmmkay? committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Tue, 29 Oct 2002 16:21:16 +0000
parents 1e9221073b1a
children f82dec3e96bf
files src/prefs.c
diffstat 1 files changed, 14 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/prefs.c	Tue Oct 29 13:29:54 2002 +0000
+++ b/src/prefs.c	Tue Oct 29 16:21:16 2002 +0000
@@ -548,13 +548,18 @@
 	return ret;
 }
 
+#ifndef _WIN32
 static void browser_print_option(GtkEntry *entry, void *nullish) {
 	g_snprintf(web_command, sizeof(web_command), "%s", gtk_entry_get_text(entry));
 }
+#endif
 
 GtkWidget *browser_page() {
 	GtkWidget *ret;
-	GtkWidget *vbox, *hbox;
+	GtkWidget *vbox;
+#ifndef _WIN32
+	GtkWidget *hbox;
+#endif
 	GtkWidget *label;
 	GtkSizeGroup *sg;
 
@@ -631,18 +636,23 @@
 
 static GtkWidget *sndcmd = NULL;
 
+#ifndef _WIN32
 static gint sound_cmd_yeah(GtkEntry *entry, GdkEvent *event, gpointer d)
 {
 	g_snprintf(sound_cmd, sizeof(sound_cmd), "%s", gtk_entry_get_text(GTK_ENTRY(sndcmd)));
 	return TRUE;
 }
+#endif
 
 GtkWidget *sound_page() {
 	GtkWidget *ret;
+	GtkWidget *vbox;
+	GtkSizeGroup *sg;
+#ifndef _WIN32
+	GtkWidget *dd;
+	GtkWidget *hbox;
 	GtkWidget *label;
-	GtkWidget *vbox, *hbox;
-	GtkSizeGroup *sg;
-	GtkWidget *dd;
+#endif
 
 	ret = gtk_vbox_new(FALSE, 18);
 	gtk_container_set_border_width (GTK_CONTAINER (ret), 12);