[libadwaita/wip/exalm/dark: 5/9] 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: 5/9] application: Remove gtk-application-prefer-dark-theme mentions from docs
- Date: Wed, 22 Sep 2021 12:58:55 +0000 (UTC)
commit cbc700c6284a94c01a79e78b34bbd5dec01c1a67
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 f19dc655..f422ad9a 100644
--- a/src/adw-application.c
+++ b/src/adw-application.c
@@ -32,14 +32,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]