summaryrefslogtreecommitdiff
path: root/sysdata_unix.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-09 22:47:45 -0400
committerPietro Gagliardi <[email protected]>2014-06-09 22:47:45 -0400
commita0e8048b06d52846157bc881e6cad8c119f807fd (patch)
treed50d2463e1f92dd26e41b5d8eac39f1c4979b34d /sysdata_unix.go
parent764010bd812a54566305e7bf1b2af0ce31f4cc0d (diff)
Had Area.SetSize() explicitly labelled as repainting the whole Area; made sure it does that on GTK+ (it already did on Windows and Mac). I think we're ready to declare the API as it stands now stable!
Diffstat (limited to 'sysdata_unix.go')
-rw-r--r--sysdata_unix.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdata_unix.go b/sysdata_unix.go
index 04a6119..31cb7a6 100644
--- a/sysdata_unix.go
+++ b/sysdata_unix.go
@@ -363,6 +363,7 @@ func (s *sysData) setAreaSize(width int, height int) {
gtk_widget_set_size_request(c, width, height)
s.areawidth = width // for sysData.preferredSize()
s.areaheight = height
+ C.gtk_widget_queue_draw(c)
ret <- struct{}{}
}
<-ret