Mercurial > minori
comparison src/sys/glib/dark_theme.cc @ 292:ac1451035c85
dialog/about: add utf8proc
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sun, 12 May 2024 18:01:16 -0400 |
parents | 862d0d8619f6 |
children | daa03aa2262d |
comparison
equal
deleted
inserted
replaced
291:9a88e1725fd2 | 292:ac1451035c85 |
---|---|
1 #include <cstring> | 1 #include <cstring> |
2 #include <gio/gio.h> | 2 #include <gio/gio.h> |
3 #include <string_view> | 3 #include <string_view> |
4 | |
5 /* this file uses the regular gio C interface because I don't | |
6 * see any real benefit to using the C++ bindings. */ | |
4 | 7 |
5 namespace glib { | 8 namespace glib { |
6 | 9 |
7 bool IsInDarkTheme() { | 10 bool IsInDarkTheme() { |
8 GSettings* settings = ::g_settings_new("org.gnome.desktop.interface"); | 11 GSettings* settings = ::g_settings_new("org.gnome.desktop.interface"); |