diff src/conversation.c @ 3716:d7e83b4db191

[gaim-migrate @ 3849] Warning fixes committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Wed, 16 Oct 2002 19:44:19 +0000
parents 91498932cea7
children d3592d407c9b
line wrap: on
line diff
--- a/src/conversation.c	Wed Oct 16 19:40:00 2002 +0000
+++ b/src/conversation.c	Wed Oct 16 19:44:19 2002 +0000
@@ -47,10 +47,12 @@
 #include "prpl.h"
 
 #ifdef _WIN32
+#include <process.h> /* fog getpid() */
+#include <io.h>
 #include "win32dep.h"
 #endif
 
-#include "pixmaps/save_small.xpm"
+/*#include "pixmaps/save_small.xpm"*/
 
 #include "pixmaps/luke03.xpm"
 #include "pixmaps/oneeye.xpm"
@@ -1339,15 +1341,8 @@
 	if (err < 0) {
 		if (err == -E2BIG)
 			do_error_dialog(_("Unable to send message.  The message is too large"), NULL, GAIM_ERROR);
-#ifndef _WIN32
 		else if (err == -ENOTCONN)
 			debug_printf("Not yet connected\n");
-#else
-		else if (err == SOCKET_ERROR) {
-			if (WSAENOTCONN == WSAGetLastError())
-				debug_printf("Not yet connected\n");
-		}
-#endif
 		else
 			do_error_dialog(_("Unable to send message"), NULL, GAIM_ERROR);
 	} else {
@@ -2409,7 +2404,7 @@
 
 void update_convo_add_button(struct conversation *c)
 {
-	int dispstyle = set_dispstyle(0);
+	/*int dispstyle = set_dispstyle(0);*/
 	GtkWidget *parent = c->add->parent;
 	gboolean rebuild = FALSE;
 
@@ -2767,7 +2762,7 @@
 	GtkWidget *info;
 	GtkWidget *warn;
 	GtkWidget *block;
-	GtkWidget *close;
+	/*GtkWidget *close;*/
 	GtkWidget *entry;
 	GtkWidget *bbox;
 	GtkWidget *vbox;