summarylogtreecommitdiffstats
path: root/force_gtk_integration.patch
blob: 3b276e463b2bec798947df408918e13b6595c55b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Forces GTK integration so the GTK file picker is always used.

diff --git a/Telegram/SourceFiles/platform/linux/specific_linux.cpp b/Telegram/SourceFiles/platform/linux/specific_linux.cpp
index 6f2acd9..e5764b4 100644
--- a/Telegram/SourceFiles/platform/linux/specific_linux.cpp
+++ b/Telegram/SourceFiles/platform/linux/specific_linux.cpp
@@ -573,6 +573,7 @@ bool IsStaticBinary() {
 }
 
 bool IsGtkIntegrationForced() {
+	return true;
 	static const auto Result = [&] {
 		if (!GtkIntegration::Instance()) {
 			return false;