summaryrefslogtreecommitdiff
path: root/redo/control_unix.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-04 23:32:59 -0400
committerPietro Gagliardi <[email protected]>2014-08-04 23:32:59 -0400
commit3e25992f09d7341d827c900389e0de4a78ceca17 (patch)
tree77383ec96e1299d18a2319d0ba273c4f05d1a12e /redo/control_unix.go
parent28764445b9d8073b6fc9af6779bfa3b485b1ae06 (diff)
Some slight Area cleanup.
Diffstat (limited to 'redo/control_unix.go')
-rw-r--r--redo/control_unix.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/redo/control_unix.go b/redo/control_unix.go
index 84ef4b7..5531b3c 100644
--- a/redo/control_unix.go
+++ b/redo/control_unix.go
@@ -35,15 +35,6 @@ func basepreferredSize(c controlPrivate, d *sizing) (int, int) {
// The difference? Minimum size takes into account things like truncation with ellipses: the minimum size of a label can allot just the ellipses!
// So we use the natural size instead.
// There is a warning about height-for-width controls, but in my tests this isn't an issue.
- // For Areas, we manually save the Area size and use that, just to be safe.
-
-//TODO
-/*
- if s.ctype == c_area {
- return s.areawidth, s.areaheight
- }
-*/
-
var r C.GtkRequisition
C.gtk_widget_get_preferred_size(c.widget(), nil, &r)