[libadwaita/wip/exalm/dark: 4/8] application: Remove gtk-application-prefer-dark-theme mentions from docs
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/dark: 4/8] application: Remove gtk-application-prefer-dark-theme mentions from docs
- Date: Wed, 22 Sep 2021 19:34:25 +0000 (UTC)
commit da1531f077ed66f2ca9e9cc7fdf4482177640bce
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Wed Sep 22 14:20:58 2021 +0500
application: Remove gtk-application-prefer-dark-theme mentions from docs
People should use AdwStyleManager properties instead.
src/adw-application.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/adw-application.c b/src/adw-application.c
index c039faad..7fa321e5 100644
--- a/src/adw-application.c
+++ b/src/adw-application.c
@@ -30,14 +30,13 @@
* - `style.css` contains styles that are always present.
*
* - `style-dark.css` contains styles only used when
- * [property@Gtk.Settings:gtk-application-prefer-dark-theme] is set to `TRUE`.
+ * [property@Adw.StyleManager:dark] is `TRUE`.
*
* - `style-hc.css` contains styles used when the system high contrast
* preference is enabled.
*
* - `style-hc-dark.css` contains styles used when the system high contrast
- * preference is enabled and
- * [property@Gtk.Settings:gtk-application-prefer-dark-theme] is set to `TRUE`.
+ * preference is enabled and [property@Adw.StyleManager:dark] is `TRUE`.
*
* Since: 1.0
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]