From a0e8048b06d52846157bc881e6cad8c119f807fd Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 9 Jun 2014 22:47:45 -0400 Subject: 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! --- sysdata_unix.go | 1 + 1 file changed, 1 insertion(+) (limited to 'sysdata_unix.go') 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 -- cgit v1.2.3