Mercurial > minori
comparison include/sys/glib/dark_theme.h @ 403:df4a027623d0 default tip
x11: fix build fail when glib is not detected
this can happen if glib is just not installed, or if dev headers are
not installed either.
| author | Paper <paper@tflc.us> |
|---|---|
| date | Mon, 10 Nov 2025 15:51:45 -0500 |
| parents | c844f8bb87ce |
| children |
comparison
equal
deleted
inserted
replaced
| 402:d859306e2db4 | 403:df4a027623d0 |
|---|---|
| 3 | 3 |
| 4 #include <string_view> | 4 #include <string_view> |
| 5 | 5 |
| 6 namespace glib { | 6 namespace glib { |
| 7 | 7 |
| 8 bool IsGTKThemeDark(const std::string_view str); | |
| 9 bool IsInDarkTheme(); | 8 bool IsInDarkTheme(); |
| 10 | 9 |
| 11 } | 10 } |
| 12 | 11 |
| 13 #endif // MINORI_SYS_GLIB_DARK_THEME_H_ | 12 #endif // MINORI_SYS_GLIB_DARK_THEME_H_ |
