[libadwaita/wip/exalm/inspector: 6/7] settings: Expose in the ABI
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/inspector: 6/7] settings: Expose in the ABI
- Date: Sun, 26 Sep 2021 21:58:25 +0000 (UTC)
commit 3e5ff4b7f67c93385b223ad7dac051fe79a40625
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Mon Sep 27 02:56:42 2021 +0500
settings: Expose in the ABI
This is not great as AdwSettings are private, but there's not much we can
do here. GTK does the same thing in a few places, so it's fine.
src/adw-settings-private.h | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/src/adw-settings-private.h b/src/adw-settings-private.h
index 8aee890f..bab0962c 100644
--- a/src/adw-settings-private.h
+++ b/src/adw-settings-private.h
@@ -27,23 +27,32 @@ typedef enum {
G_DECLARE_FINAL_TYPE (AdwSettings, adw_settings, ADW, SETTINGS, GObject)
+ADW_AVAILABLE_IN_ALL
AdwSettings *adw_settings_get_default (void);
+ADW_AVAILABLE_IN_ALL
gboolean adw_settings_get_system_supports_color_schemes (AdwSettings *self);
+ADW_AVAILABLE_IN_ALL
AdwSystemColorScheme adw_settings_get_color_scheme (AdwSettings *self);
+ADW_AVAILABLE_IN_ALL
gboolean adw_settings_get_high_contrast (AdwSettings *self);
+ADW_AVAILABLE_IN_ALL
void adw_settings_start_override (AdwSettings *self);
+ADW_AVAILABLE_IN_ALL
void adw_settings_end_override (AdwSettings *self);
+ADW_AVAILABLE_IN_ALL
void adw_settings_override_system_supports_color_schemes (AdwSettings *self,
gboolean system_supports_color_schemes);
+ADW_AVAILABLE_IN_ALL
void adw_settings_override_color_scheme (AdwSettings *self,
AdwSystemColorScheme color_scheme);
+ADW_AVAILABLE_IN_ALL
void adw_settings_override_high_contrast (AdwSettings *self,
gboolean high_contrast);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]