diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-07-17 18:42:27 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-07-17 18:42:27 +0000 |
commit | f1fcb33bc01c12ab3fdac8cbffc70392af613a70 (patch) | |
tree | 79afdbbd5595be7ce11fcfbc4c40b3400ed9f297 | |
parent | 45c60759bb8be639c7f0466753f744640e6993f3 (diff) | |
download | anaconda-f1fcb33bc01c12ab3fdac8cbffc70392af613a70.tar.gz anaconda-f1fcb33bc01c12ab3fdac8cbffc70392af613a70.tar.xz anaconda-f1fcb33bc01c12ab3fdac8cbffc70392af613a70.zip |
use new gc api for new pygtk that firstboot is counting on. warnings confuse people
-rwxr-xr-x | gui.py | 2 | ||||
-rw-r--r-- | splashscreen.py | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1414,7 +1414,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() diff --git a/splashscreen.py b/splashscreen.py index 7176b9398..44a0419fe 100644 --- a/splashscreen.py +++ b/splashscreen.py @@ -55,7 +55,7 @@ def splashScreenShow(configFileData): pixbuf = None if pixbuf: (pixmap, mask) = pixbuf.render_pixmap_and_mask() - pixbuf.render_to_drawable(pixmap, gtk.gdk.gc_new(pixmap), + 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) |