aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build-unix.txt2
-rw-r--r--ui.cpp3
2 files changed, 1 insertions, 4 deletions
diff --git a/build-unix.txt b/build-unix.txt
index b959f1a2d9..d0cbc40fab 100644
--- a/build-unix.txt
+++ b/build-unix.txt
@@ -73,7 +73,7 @@ tar -xzvf wxWidgets-2.9.0.tar.gz
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
diff --git a/ui.cpp b/ui.cpp
index 2277da6a3a..a95f31bdb8 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -2839,9 +2839,6 @@ bool CMyApp::OnInit()
extern int g_isPainting;
g_isPainting = 10000;
#endif
-#ifdef GUI
- wxImage::AddHandler(new wxPNGHandler);
-#endif
#if defined(__WXMSW__ ) || defined(__WXMAC_OSX__)
SetAppName("Bitcoin");
#else