Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo Ufimtsev2018-01-26 19:33:23 +0000
committerLeo Ufimtsev2018-01-26 20:38:45 +0000
commite1810e11b59acc83c8b0dc376540d361c667fc82 (patch)
tree511bd2a5dcef6d5ce52aaac116f025b0343a10b2 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk
parent3f989c6347191e1555c2f903ec7acdf1a9218d90 (diff)
downloadeclipse.platform.swt-e1810e11b59acc83c8b0dc376540d361c667fc82.tar.gz
eclipse.platform.swt-e1810e11b59acc83c8b0dc376540d361c667fc82.tar.xz
eclipse.platform.swt-e1810e11b59acc83c8b0dc376540d361c667fc82.zip
Bug 530397 – [Gtk] Make gdbus initialization dynamic
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=530397 Change-Id: Ia99129ce35b8e190402abea3a2eb75d668e8c825 Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java11
1 files changed, 2 insertions, 9 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
index 959aa999a8..8930c19657 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
@@ -106,20 +106,13 @@ public class OS extends C {
}
}
- public static final String GDBUS_SYSTEM_PROPERTY = "swt.dbus.init";
-
// Bug 519124
static {
String swt_lib_versions = getEnvironmentalVariable (OS.SWT_LIB_VERSIONS); // Note, this is read in multiple places.
if (swt_lib_versions != null && swt_lib_versions.equals("1")) {
System.out.print("SWT_LIB_Gtk:"+gtk_major_version()+"."+gtk_minor_version()+"."+gtk_micro_version());
- if (System.getProperty(GDBUS_SYSTEM_PROPERTY) != null) {
- System.out.print(" (DBus enabled)");
- System.out.print(" (OpenUrl/OpenDocument supported)");
- } else {
- System.out.print(" (DBus dissabled)");
- }
- System.out.print("\n");
+ System.out.print(" (Dynamic gdbus)");
+ System.out.println("");
}
}

Back to the top