diff options
Diffstat (limited to 'main/src/ui/util/helper.vala')
-rw-r--r-- | main/src/ui/util/helper.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/util/helper.vala b/main/src/ui/util/helper.vala index 5feda242..de05d753 100644 --- a/main/src/ui/util/helper.vala +++ b/main/src/ui/util/helper.vala @@ -265,7 +265,7 @@ public int get_only_emoji_count(string markup_text) { } public bool use_csd() { - return Environment.get_variable("GTK_CSD") != "0"; + return (GLib.Application.get_default() as Application).use_csd(); } } |