diff options
author | Arun Thondapu | 2015-12-08 12:42:43 +0000 |
---|---|---|
committer | Arun Thondapu | 2015-12-08 12:42:43 +0000 |
commit | 166a902e3280d3067b5a24bba11e2aac7e51a264 (patch) | |
tree | 51d2eaf365c4524c4608dccf49cb2b2fabf20424 /examples | |
parent | 4d006f713fa909721f00832a814063bcd1ac2e03 (diff) | |
download | eclipse.platform.swt-166a902e3280d3067b5a24bba11e2aac7e51a264.tar.gz eclipse.platform.swt-166a902e3280d3067b5a24bba11e2aac7e51a264.tar.xz eclipse.platform.swt-166a902e3280d3067b5a24bba11e2aac7e51a264.zip |
Revert "Bug 465280 - [GTK3] OS.gtk_widget_get_allocation returns (0,0) for invisible controls"
This reverts commit 595a640d4be4bdf5bb2cf6e41d4d21bca7dd1ffa.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/accessibility/CTable.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/accessibility/CTable.java b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/accessibility/CTable.java index 4d59005c96..aa40352dc7 100644 --- a/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/accessibility/CTable.java +++ b/examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/accessibility/CTable.java @@ -471,10 +471,6 @@ int computeColumnIntersect (int x, int startColumn) { @Override public Point computeSize (int wHint, int hHint, boolean changed) { checkWidget (); - boolean visible = getVisible(); - if (SWT.getPlatform().equals("gtk") && !visible) { - setVisible(true); - } int width = 0, height = 0; if (wHint != SWT.DEFAULT) { width = wHint; @@ -496,9 +492,6 @@ public Point computeSize (int wHint, int hHint, boolean changed) { height = getHeaderHeight () + itemsCount * itemHeight; } Rectangle result = computeTrim (0, 0, width, height); - if (SWT.getPlatform().equals("gtk")) { - setVisible(visible); - } return new Point (result.width, result.height); } void createItem (CTableColumn column, int index) { |