Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2018-08-04 13:09:48 -0400
committerAlexander Kurtakov2018-08-04 15:15:17 -0400
commitaca62e3e174505e5d310af1ac7479886e5882aed (patch)
tree64a5eecf41c6d25138f672e7ce884d4deb8b621b
parenta309986ef5cad3fdd4a0011cba7f3b4cae908a37 (diff)
downloadeclipse.platform.swt-aca62e3e174505e5d310af1ac7479886e5882aed.tar.gz
eclipse.platform.swt-aca62e3e174505e5d310af1ac7479886e5882aed.tar.xz
eclipse.platform.swt-aca62e3e174505e5d310af1ac7479886e5882aed.zip
Bug 476608 - Sluggishness reported in gdk_flush
Remove call from setDarkThemePreferred. Change-Id: Ia70b1b705b0bef7bbae1c5c3d7a0a7034e64ba38 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java1
1 files changed, 0 insertions, 1 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 809ccb13d6..a894399983 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
@@ -4255,7 +4255,6 @@ public static final byte [] getThemeNameBytes() {
*/
public static final void setDarkThemePreferred(boolean preferred){
if (!GTK.GTK3) return; //only applicable to GTK3
- GDK.gdk_flush();
g_object_set(GTK.gtk_settings_get_default(), GTK.gtk_application_prefer_dark_theme,
preferred, 0);
g_object_notify(GTK.gtk_settings_get_default(),

Back to the top