GTK: fix build on Ubuntu 18.04 by removing debug define

Ubuntu 18.04 uses GTKMM 3.22.2-2, which doesn't support native file chooser.

Commit bc3e09edbf checks if native file chooser
is available, but the result is overridden with a hardcoded define,
probably for debugging.

Removing the debugging code fixes build on Ubuntu 18.04.
pull/404/head
Zhuowei Zhang 2019-05-12 23:56:08 -07:00 committed by whitequark
parent 0b7b8a40e2
commit f07e975db1
1 changed files with 0 additions and 1 deletions

View File

@ -15,7 +15,6 @@
#include <gtkmm/cssprovider.h> #include <gtkmm/cssprovider.h>
#include <gtkmm/entry.h> #include <gtkmm/entry.h>
#include <gtkmm/filechooserdialog.h> #include <gtkmm/filechooserdialog.h>
#define HAVE_GTK_FILECHOOSERNATIVE
#if defined(HAVE_GTK_FILECHOOSERNATIVE) #if defined(HAVE_GTK_FILECHOOSERNATIVE)
# include <gtkmm/filechoosernative.h> # include <gtkmm/filechoosernative.h>
#endif #endif