aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/util
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-02-20 23:08:30 +0100
committerfiaxh <git@lightrise.org>2019-03-14 17:39:31 +0100
commit161e4c19862be0ea6572f7701d37acc1c16b8147 (patch)
tree99c79a52371dd7a1424617045ea849b8977b039f /main/src/ui/util
parentcc7b0aa7bd5b6599159f654fdd8a2fd111e16a3e (diff)
downloaddino-161e4c19862be0ea6572f7701d37acc1c16b8147.tar.gz
dino-161e4c19862be0ea6572f7701d37acc1c16b8147.zip
Add non-CSD alternative for more windows
Diffstat (limited to 'main/src/ui/util')
-rw-r--r--main/src/ui/util/helper.vala2
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();
}
}