#include "rcfile.h"
+#include <cstdlib>
+#include <cstring>
+
+#include <gdk-pixbuf/gdk-pixbuf.h>
+#include <gtk/gtk.h>
+
#include <config.h>
#include "bar-comment.h"
#include "filefilter.h"
#include "intl.h"
#include "layout-util.h"
+#include "layout.h"
#include "main-defines.h"
#include "metadata.h"
+#include "options.h"
#include "pixbuf-renderer.h"
#include "secure-save.h"
#include "slideshow.h"
+#include "typedefs.h"
#include "ui-fileops.h"
#include "ui-utildlg.h"
static void write_color_profile(GString *outstr, gint indent)
{
gint i;
-#ifndef HAVE_LCMS
+#if !HAVE_LCMS
g_string_append_printf(outstr, "<!-- NOTICE: %s was not built with support for color profiles,\n"
" color profile options will have no effect.\n-->\n", GQ_APPNAME);
#endif
static void options_parse_global_end(GQParserData *, GMarkupParseContext *, const gchar *, gpointer, GError **)
{
-#ifndef HAVE_EXIV2
+#if !HAVE_EXIV2
/* some options do not work without exiv2 */
options->metadata.save_in_image_file = FALSE;
options->metadata.save_legacy_format = TRUE;
}
options_parse_func_push(parser_data, options_parse_leaf, nullptr, nullptr);
}
-#ifdef HAVE_LIBCHAMPLAIN
-#ifdef HAVE_LIBCHAMPLAIN_GTK
+#if HAVE_LIBCHAMPLAIN
+#if HAVE_LIBCHAMPLAIN_GTK
else if (g_ascii_strcasecmp(element_name, "pane_gps") == 0)
{
/* Use this flag to determine if --disable-clutter has been issued */