diff options
Diffstat (limited to 'grc/src/platforms/gui/Block.py')
-rw-r--r-- | grc/src/platforms/gui/Block.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/src/platforms/gui/Block.py b/grc/src/platforms/gui/Block.py index 4aa35bf03..b574892d3 100644 --- a/grc/src/platforms/gui/Block.py +++ b/grc/src/platforms/gui/Block.py @@ -146,7 +146,7 @@ class Block(Element): width = self.label_width height = self.label_height #setup the pixmap - pixmap = gtk.gdk.Pixmap(self.get_parent().get_window(), width, height, -1) + pixmap = self.get_parent().new_pixmap(width, height) gc = pixmap.new_gc() gc.foreground = self.bg_color pixmap.draw_rectangle(gc, True, 0, 0, width, height) |