aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/application.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2024-09-15 20:04:52 +0200
committerfiaxh <git@lightrise.org>2024-09-15 20:15:14 +0200
commite8f82fd328697542d2ee0233635b694827a5cc79 (patch)
treeb3fe7981ded0f9d570c64a09494734711035b09c /main/src/ui/application.vala
parent63ba0bc93636de557ced29c19b2b61eeeab57bf8 (diff)
downloaddino-e8f82fd328697542d2ee0233635b694827a5cc79.tar.gz
dino-e8f82fd328697542d2ee0233635b694827a5cc79.zip
Code cleanup: Remove broken disable CSD code
Diffstat (limited to 'main/src/ui/application.vala')
-rw-r--r--main/src/ui/application.vala8
1 files changed, 0 insertions, 8 deletions
diff --git a/main/src/ui/application.vala b/main/src/ui/application.vala
index 9d69c10b..706a61e6 100644
--- a/main/src/ui/application.vala
+++ b/main/src/ui/application.vala
@@ -233,10 +233,6 @@ public class Dino.Ui.Application : Adw.Application, Dino.Application {
add_action(deny_call_action);
}
- public bool use_csd() {
- return Environment.get_variable("GTK_CSD") != "0";
- }
-
private void show_preferences_window() {
Ui.PreferencesWindow dialog = new Ui.PreferencesWindow() { transient_for = window };
dialog.model.populate(db, stream_interactor);
@@ -272,10 +268,6 @@ public class Dino.Ui.Application : Adw.Application, Dino.Application {
about_window.website = "https://dino.im/";
about_window.copyright = "Copyright © 2016-2023 - Dino Team";
about_window.license_type = License.GPL_3_0;
-
- if (!use_csd()) {
- about_window.set_titlebar(null);
- }
about_window.present();
}