Replace deprecated GTK symbols. Fixes part of bug #572325

svn path=/trunk/; revision=9283
This commit is contained in:
Thomas Hindoe Paaboel Andersen 2009-02-22 22:01:40 +00:00
parent e09d3371e8
commit e5208bc543
4 changed files with 25 additions and 20 deletions

View file

@ -205,19 +205,19 @@ set_pixmap_background (GtkWidget *window)
height,
-1);
gdk_pixbuf_render_to_drawable_alpha (tmp_pixbuf,
pixmap,
0,
0,
0,
0,
width,
height,
GDK_PIXBUF_ALPHA_BILEVEL,
0,
GDK_RGB_DITHER_NONE,
0,
0);
gdk_draw_pixbuf (pixmap,
NULL,
tmp_pixbuf,
0,
0,
0,
0,
width,
height,
GDK_RGB_DITHER_NONE,
0,
0);
g_object_unref (tmp_pixbuf);
gdk_window_set_back_pixmap (window->window, pixmap, FALSE);