pidgin: 344e927e: Make the win32 build possible to compile...

datallah at pidgin.im datallah at pidgin.im
Fri Sep 17 10:47:37 EDT 2010


----------------------------------------------------------------------
Revision: 344e927e250e43b38d97e75682a3acd571d2e31b
Parent:   22ac9cd3908011eab0ad06c97353818f6eeaebf3
Author:   datallah at pidgin.im
Date:     09/17/10 10:41:34
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/344e927e250e43b38d97e75682a3acd571d2e31b

Changelog: 

Make the win32 build possible to compile without GtkSpell if HAVE_GTKSPELL isn't defined.

Changes against parent 22ac9cd3908011eab0ad06c97353818f6eeaebf3

  patched  pidgin/win32/gtkwin32dep.c
  patched  pidgin/win32/wspell.c

-------------- next part --------------
============================================================
--- pidgin/win32/wspell.c	a2067bb6ab86a0e58b82ac23bde3c0e9257d7903
+++ pidgin/win32/wspell.c	64effd8da6a677ffd8ba982dc39a16c50566306b
@@ -22,6 +22,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  *
  */
+#ifdef USE_GTKSPELL
 #include <windows.h>
 #include <string.h>
 #include <stdlib.h>
@@ -102,3 +103,4 @@ void winpidgin_spell_init() {
 void winpidgin_spell_init() {
 	load_gtkspell();
 }
+#endif
============================================================
--- pidgin/win32/gtkwin32dep.c	e594b4333a0458fa5750039675134bda4f523779
+++ pidgin/win32/gtkwin32dep.c	f66da5aaf8e7441698cb2d92fdde615e5983215b
@@ -51,7 +51,9 @@
 #include "gtkconv.h"
 #include "gtkconn.h"
 #include "util.h"
+#ifdef USE_GTKSPELL
 #include "wspell.h"
+#endif
 
 /*
  *  GLOBALS
@@ -400,7 +402,9 @@ void winpidgin_init(HINSTANCE hint) {
 		g_free(locale_debug_dir);
 	}
 
+#ifdef USE_GTKSPELL
 	winpidgin_spell_init();
+#endif
 	purple_debug_info("winpidgin", "GTK+ :%u.%u.%u\n",
 		gtk_major_version, gtk_minor_version, gtk_micro_version);
 


More information about the Commits mailing list