Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14123/src/gui
Modified Files:
wxMApp.cpp
Log Message:
ugly hack to fix linking with wxGTK 2.6.1
Index: wxMApp.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMApp.cpp,v
retrieving revision 1.303
retrieving revision 1.304
diff -b -u -2 -r1.303 -r1.304
--- wxMApp.cpp 13 Feb 2006 00:12:19 -0000 1.303
+++ wxMApp.cpp 13 Feb 2006 01:16:54 -0000 1.304
@@ -101,4 +101,11 @@
#endif
+#if defined(__WXGTK20__) && !wxCHECK_VERSION(2, 6, 2)
+ // wxGTK 2.6.1 references this function but it doesn't exist in recent GTK+
+ // versions so stub it out here to make it possible to link the app (it's
+ // not really used anyhow)
+ extern "C" void *pango_x_get_context(void *) { return NULL; }
+#endif
+
// ----------------------------------------------------------------------------
// options we use here
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates