# HG changeset patch # User Matt Corallo # Date 1303672352 -7200 # Node ID a69a1619979e9f38358b43ef4a85219a4b56419c # Parent 53c2c6ebeaaaa3a152af2b5f3e052e728b190e21 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. diff --git a/build-unix.txt b/build-unix.txt --- 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 diff --git a/ui.cpp b/ui.cpp --- 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