gentoo-overlay/app-backup/duplicati/files/004-loosen-gtk-check.patch

20 lines
856 B
Diff
Raw Normal View History

Subject: [PATCH] Loosen GTK check
---
Index: Duplicati/GUI/Duplicati.GUI.TrayIcon/Program.cs
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/Duplicati/GUI/Duplicati.GUI.TrayIcon/Program.cs b/Duplicati/GUI/Duplicati.GUI.TrayIcon/Program.cs
--- a/Duplicati/GUI/Duplicati.GUI.TrayIcon/Program.cs (revision 39798b1a165d420c4e51b0eb6ceac1d5257ea812)
+++ b/Duplicati/GUI/Duplicati.GUI.TrayIcon/Program.cs (date 1687821173287)
@@ -355,7 +355,7 @@
private static bool TryGetGtk()
{
#if __WindowsGTK__ || ENABLE_GTK
- return typeof(Gtk.StatusIcon) != null && typeof(Gdk.Image) != null;
+ return typeof(Gtk.StatusIcon) != null /*&& typeof(Gdk.Image) != null*/;
#else
return false;
#endif