Index: librsvg/gtk-engine/svg-render.c
===================================================================
--- librsvg/gtk-engine/svg-render.c	(Revision 1208)
+++ librsvg/gtk-engine/svg-render.c	(Arbeitskopie)
@@ -427,13 +427,12 @@
 					 128);
     }
 
-  gdk_pixbuf_render_to_drawable_alpha (tmp_pixbuf, window,
-				       x_offset, y_offset,
-				       rect.x, rect.y,
-				       rect.width, rect.height,
-				       GDK_PIXBUF_ALPHA_FULL, 128,
-				       GDK_RGB_DITHER_NORMAL,
-				       0, 0);
+  gdk_draw_pixbuf (window, NULL, tmp_pixbuf, 
+		   x_offset, y_offset,
+		   rect.x, rect.y,
+		   rect.width, rect.height,
+		   GDK_RGB_DITHER_NORMAL,
+		   0, 0);
   g_object_unref (tmp_pixbuf);
 }
 
@@ -837,13 +836,13 @@
 				       pixbuf_height,
 				       -1);
 	  tmp_gc = gdk_gc_new (tmp_pixmap);
-	  gdk_pixbuf_render_to_drawable (pixbuf, tmp_pixmap, tmp_gc,
-					 0, 0, 
-					 0, 0,
-					 pixbuf_width, pixbuf_height,
-					 GDK_RGB_DITHER_NORMAL,
-					 0, 0);
-	  gdk_gc_unref (tmp_gc);
+	  gdk_draw_pixbuf (tmp_pixmap, tmp_gc, pixbuf, 
+			   0, 0, 
+			   0, 0,
+			   pixbuf_width, pixbuf_height,
+			   GDK_RGB_DITHER_NORMAL,
+			   0, 0);
+	  g_object_unref (tmp_gc);
 
 	  gc_values.fill = GDK_TILED;
 	  gc_values.tile = tmp_pixmap;
@@ -855,7 +854,7 @@
 	  else
 	    gdk_draw_rectangle (window, tmp_gc, TRUE, x, y, width, height);
 	  
-	  gdk_gc_unref (tmp_gc);
+	  g_object_unref (tmp_gc);
 	  gdk_pixmap_unref (tmp_pixmap);
 	}
     }
Index: librsvg/gtk-engine/svg-draw.c
===================================================================
--- librsvg/gtk-engine/svg-draw.c	(Revision 1208)
+++ librsvg/gtk-engine/svg-draw.c	(Arbeitskopie)
@@ -104,14 +104,14 @@
   
   if ((width == -1) && (height == -1))
     {
-      gdk_window_get_size(window, &width, &height);
+      gdk_drawable_get_size(window, &width, &height);
       if (allow_setbg)
       	setbg = TRUE;
     }
   else if (width == -1)
-    gdk_window_get_size(window, &width, NULL);
+    gdk_drawable_get_size(window, &width, NULL);
   else if (height == -1)
-    gdk_window_get_size(window, NULL, &height);
+    gdk_drawable_get_size(window, NULL, &height);
 
   if (!(match_data->flags & THEME_MATCH_ORIENTATION))
     {
@@ -167,13 +167,13 @@
   
   if ((width == -1) && (height == -1))
     {
-      gdk_window_get_size(window, &width, &height);
+      gdk_drawable_get_size(window, &width, &height);
       setbg = TRUE;
     }
   else if (width == -1)
-    gdk_window_get_size(window, &width, NULL);
+    gdk_drawable_get_size(window, &width, NULL);
   else if (height == -1)
-    gdk_window_get_size(window, NULL, &height);
+    gdk_drawable_get_size(window, NULL, &height);
 
   if (!(match_data->flags & THEME_MATCH_ORIENTATION))
     {
Index: librsvg/ChangeLog
===================================================================
--- librsvg/ChangeLog	(Revision 1208)
+++ librsvg/ChangeLog	(Arbeitskopie)
@@ -1,3 +1,9 @@
+2009-02-24  Andre Klapper  <a9016009@gmx.de>
+
+	* gtk-engine/svg-render.c:
+	* gtk-engine/svg-draw.c:
+	Remove some deprecated gtk+ functions. Partially fixes bug #572084.
+
 2009-02-19  Christian Persch  <chpe@gnome.org>
 
 	* rsvg-base.c: fails to parse SVG with parameter entities. Bug #567311
