" </layout>"
"</gq>";
-#if HAVE_LIBCHAMPLAIN
-#if HAVE_LIBCHAMPLAIN_GTK
+#if HAVE_LIBCHAMPLAIN && HAVE_LIBCHAMPLAIN_GTK
static const gchar default_config_gps[] =
"<gq>"
" <layout id = '_current_'>"
" </layout>"
"</gq>";
#endif
-#endif
static const KnownPanes known_panes[] = {
/* default sidebar */
{PANE_EXIF, "file_info", N_("File info"), default_config_file_info},
{PANE_EXIF, "location", N_("Location and GPS"), default_config_location},
{PANE_EXIF, "copyright", N_("Copyright"), default_config_copyright},
-#if HAVE_LIBCHAMPLAIN
-#if HAVE_LIBCHAMPLAIN_GTK
+#if HAVE_LIBCHAMPLAIN && HAVE_LIBCHAMPLAIN_GTK
{PANE_GPS, "gps", N_("GPS Map"), default_config_gps},
-#endif
#endif
{PANE_UNDEF, nullptr, nullptr, nullptr}
};