From f07e975db1e1f93a9290362a1b67eae7353fd017 Mon Sep 17 00:00:00 2001 From: Zhuowei Zhang Date: Sun, 12 May 2019 23:56:08 -0700 Subject: [PATCH] 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 bc3e09edbfeb4859218bf51476e34635f45cf249 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. --- src/platform/guigtk.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/platform/guigtk.cpp b/src/platform/guigtk.cpp index ac5f4488..341547fa 100644 --- a/src/platform/guigtk.cpp +++ b/src/platform/guigtk.cpp @@ -15,7 +15,6 @@ #include #include #include -#define HAVE_GTK_FILECHOOSERNATIVE #if defined(HAVE_GTK_FILECHOOSERNATIVE) # include #endif