Removed some debugging output
This commit is contained in:
parent
b2598fb09f
commit
64193f3315
|
@ -114,8 +114,6 @@ class GoGame(gtk.HBox):
|
|||
|
||||
|
||||
def do_board_configure(self, widget, event):
|
||||
print 'configure'
|
||||
|
||||
gc = widget.get_style().fg_gc[gtk.STATE_NORMAL]
|
||||
x,y,width,height = widget.get_allocation()
|
||||
self.board_backbuf = gtk.gdk.Pixmap(widget.window, width, height, depth=-1)
|
||||
|
@ -126,8 +124,6 @@ class GoGame(gtk.HBox):
|
|||
|
||||
|
||||
def do_board_expose(self, widget, event):
|
||||
print 'expose'
|
||||
|
||||
x , y, width, height = event.area
|
||||
widget.window.draw_drawable(widget.get_style().fg_gc[gtk.STATE_NORMAL],
|
||||
self.board_backbuf, x, y, x, y, width, height)
|
||||
|
@ -135,8 +131,6 @@ class GoGame(gtk.HBox):
|
|||
|
||||
|
||||
def update_board(self, to_update=None):
|
||||
print 'update'
|
||||
|
||||
if to_update == None:
|
||||
to_update = range(len(self.goban.board))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user