summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-07-17 18:42:27 +0000
committerJeremy Katz <katzj@redhat.com>2003-07-17 18:42:27 +0000
commitf1fcb33bc01c12ab3fdac8cbffc70392af613a70 (patch)
tree79afdbbd5595be7ce11fcfbc4c40b3400ed9f297
parent45c60759bb8be639c7f0466753f744640e6993f3 (diff)
downloadanaconda-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-xgui.py2
-rw-r--r--splashscreen.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/gui.py b/gui.py
index 0951cbd82..702bff29b 100755
--- a/gui.py
+++ b/gui.py
@@ -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)