diff src/prefs.c @ 5084:a96653493416

[gaim-migrate @ 5439] Fixed warnings (win32) committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Tue, 08 Apr 2003 18:36:50 +0000
parents 8e55a4d362a3
children 4cfc49e31c2e
line wrap: on
line diff
--- a/src/prefs.c	Tue Apr 08 14:31:19 2003 +0000
+++ b/src/prefs.c	Tue Apr 08 18:36:50 2003 +0000
@@ -67,7 +67,9 @@
 static GtkWidget *show_color_pref(GtkWidget *, gboolean);
 static void delete_prefs(GtkWidget *, void *);
 void set_default_away(GtkWidget *, gpointer);
+#ifndef _WIN32
 static gboolean program_is_valid(const char *);
+#endif
 
 struct debug_window *dw = NULL;
 GtkWidget *prefs = NULL;
@@ -258,7 +260,9 @@
 }
 
 void theme_install_theme(char *path, char *extn) {
+#ifndef _WIN32
 	gchar *command;
+#endif
 	gchar *destdir;
 	gchar *tail;
 
@@ -2211,6 +2215,7 @@
 		default_away = g_slist_nth_data(away_messages, (int)i);
 }
 
+#ifndef _WIN32
 static gboolean program_is_valid(const char *program) 
 {
 	GError *error = NULL;
@@ -2240,6 +2245,7 @@
 	
 	return is_valid;
 }
+#endif
 
 static void update_spin_value(GtkWidget *w, GtkWidget *spin)
 {