summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2003-05-20 23:54:29 +0000
committerMike Fulbright <msf@redhat.com>2003-05-20 23:54:29 +0000
commit76297e5d654b20fdc90a19f506c4237a14b627c9 (patch)
tree14d075327f941f761857cdcca2cb567695a48210 /gui.py
parentbea4feb067c05ccc2ddc7743e42a40a83ac6f660 (diff)
downloadanaconda-76297e5d654b20fdc90a19f506c4237a14b627c9.tar.gz
anaconda-76297e5d654b20fdc90a19f506c4237a14b627c9.tar.xz
anaconda-76297e5d654b20fdc90a19f506c4237a14b627c9.zip
use new API for gc
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui.py b/gui.py
index b65ac0a91..c5e43e176 100755
--- a/gui.py
+++ b/gui.py
@@ -1492,7 +1492,7 @@ class InstallControlState:
gtk.gdk.INTERP_BILINEAR)
(pixmap, mask) = pixbuf.render_pixmap_and_mask()
- pixbuf.render_to_drawable(pixmap, gtk.gdk.gc_new(pixmap), 0, 0, 0, 0,
+ pixbuf.render_to_drawable(pixmap, gtk.gdk.GC(pixmap), 0, 0, 0, 0,
pixbuf.get_width(), pixbuf.get_height(),
gtk.gdk.RGB_DITHER_MAX, 0, 0)
p = gtk.Image()