changeset 543:a69a1619979e draft

Remove unnecessary line which creates a dependency on wx's png library. This should allow the bitcoin binaries to run on ever so slightly more installs, specifically those who use a different libpng library (many distros use 1.4 which is imcompatible with 1.2.
author Matt Corallo <matt@bluematt.me>
date Sun, 24 Apr 2011 21:12:32 +0200 (2011-04-24)
parents 53c2c6ebeaaa
children 279deeca6269
files build-unix.txt ui.cpp
diffstat 2 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/build-unix.txt
+++ b/build-unix.txt
@@ -73,7 +73,7 @@
 cd wxWidgets-2.9.0
 mkdir buildgtk
 cd buildgtk
-../configure --with-gtk --enable-debug --disable-shared --enable-monolithic
+../configure --with-gtk --enable-debug --disable-shared --enable-monolithic --without-libpng --disable-svg
 make
 sudo su
 make install
--- a/ui.cpp
+++ b/ui.cpp
@@ -2839,9 +2839,6 @@
     extern int g_isPainting;
     g_isPainting = 10000;
 #endif
-#ifdef GUI
-    wxImage::AddHandler(new wxPNGHandler);
-#endif
 #if defined(__WXMSW__ ) || defined(__WXMAC_OSX__)
     SetAppName("Bitcoin");
 #else