# HG changeset patch
# User Paper
# Date 1715551276 14400
# Node ID ac1451035c85c25515bd4162ca3760de926d5fba
# Parent 9a88e1725fd2d7ac59e2be74dd5fbbf804562d44
dialog/about: add utf8proc
diff -r 9a88e1725fd2 -r ac1451035c85 include/core/session.h
--- a/include/core/session.h Sun May 12 16:31:07 2024 -0400
+++ b/include/core/session.h Sun May 12 18:01:16 2024 -0400
@@ -3,6 +3,7 @@
#include "core/config.h"
#include "gui/locale.h"
+
#include
#include "semver/semver.hpp"
diff -r 9a88e1725fd2 -r ac1451035c85 src/gui/dialog/about.cc
--- a/src/gui/dialog/about.cc Sun May 12 16:31:07 2024 -0400
+++ b/src/gui/dialog/about.cc Sun May 12 18:01:16 2024 -0400
@@ -3,8 +3,11 @@
#include "core/session.h"
#include "core/strings.h"
#include "gui/widgets/text.h"
+
#include "pugixml.hpp"
+#include "utf8proc.h"
+
#include
#include
#include
@@ -78,6 +81,10 @@
"semver v" +
Strings::ToQString(semver_version.to_string()) +
""
+ ", "
+ "utf8proc v" +
+ Strings::ToQString(utf8proc_version()) +
+ ""
", parts of "
"Anisthesia"
"
"
@@ -88,7 +95,7 @@
""
" "
" - Eren Okka " +
- tr("for creating Taiga") +
+ tr("for creating Taiga") +
"
"
" - Alex Huszagh " +
tr("and") + " Colin Duquesnoy " +
diff -r 9a88e1725fd2 -r ac1451035c85 src/sys/glib/dark_theme.cc
--- a/src/sys/glib/dark_theme.cc Sun May 12 16:31:07 2024 -0400
+++ b/src/sys/glib/dark_theme.cc Sun May 12 18:01:16 2024 -0400
@@ -2,6 +2,9 @@
#include
#include
+/* this file uses the regular gio C interface because I don't
+ * see any real benefit to using the C++ bindings. */
+
namespace glib {
bool IsInDarkTheme() {