From 4e120b03df48570e1249c7f28fd648792598e351 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 14 Aug 2014 09:46:33 -0400 Subject: Removed GTK+ spurious resize TODO and debug spiel; I can't notice much of a difference after ignoring extraneous resizes. The custom container will stay, however, as it does not demonstrate weird background drawing bugs with oxygen-gtk. --- redo/container_unix.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'redo/container_unix.go') diff --git a/redo/container_unix.go b/redo/container_unix.go index 74d5da9..4beccef 100644 --- a/redo/container_unix.go +++ b/redo/container_unix.go @@ -6,7 +6,6 @@ package ui import ( "unsafe" -"fmt" ) // #include "gtk_unix.h" @@ -46,7 +45,6 @@ func (c *container) setParent(p *controlParent) { func containerResizing(data unsafe.Pointer, r *C.GtkAllocation) { c := (*container)(data) c.resize(int(r.x), int(r.y), int(r.width), int(r.height)) -fmt.Printf("%p new size %d x %d\n", c, r.width, r.height) } const ( -- cgit v1.2.3