Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiraj Modi2015-10-06 02:03:14 -0400
committerNiraj Modi2015-12-23 02:48:06 -0500
commit8d17586cbe3cc6d68fa715d43123b14486792d60 (patch)
tree79c2ac5173bfcfb1952c37db37c20ec96049c7dc
parentc2a23a23aa9d9f9c9edf0968e2c57459282c8b43 (diff)
downloadeclipse.platform.swt-8d17586cbe3cc6d68fa715d43123b14486792d60.tar.gz
eclipse.platform.swt-8d17586cbe3cc6d68fa715d43123b14486792d60.tar.xz
eclipse.platform.swt-8d17586cbe3cc6d68fa715d43123b14486792d60.zip
Bug 465644 - [GTK3] Investigate a GTK+ specific fix outside CTabFolder
for rendering issues with GTK3 Change-Id: Iaafdf409ec383f2d1d4f94b3f3cf528df37add01 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
index b3478731c3..841a6f510f 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
@@ -3801,11 +3801,8 @@ void runUpdate() {
int flags = updateFlags;
updateFlags = 0;
Rectangle rectBefore = getClientArea();
- boolean updated = updateTabHeight(false);
- updated |= updateItems(selectedIndex);
- if (IS_GTK && updated && getParent() != null) {
- getParent().layout(true, false);
- }
+ updateTabHeight(false);
+ updateItems(selectedIndex);
if ((flags & REDRAW) != 0) {
redraw();
} else if ((flags & REDRAW_TABS) != 0) {

Back to the top