[librsvg] Replace deprecated gdk_pixmap_unref() with g_object_unref(). Bug #572084.



commit fd58ea90f77e373aeafe48117386ac0dada00148
Author: Andre Klapper <a9016009 gmx de>
Date:   Mon Jun 1 14:31:10 2009 +0200

    Replace deprecated gdk_pixmap_unref() with g_object_unref(). Bug #572084.
---
 ChangeLog               |    6 ++++++
 gtk-engine/svg-render.c |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b29c513..4d4d754 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2009-06-01  Andre Klapper  <a9016009 gmx de>
 
+	* gtk-engine/svg-render.c:
+	Replace deprecated gdk_pixmap_unref() with g_object_unref().
+	Partially fixes bug #572084.
+
+2009-06-01  Andre Klapper  <a9016009 gmx de>
+
 	* configure.in:
 	* gtk-engine/svg-render.c:
 	* gtk-engine/svg-draw.c:
diff --git a/gtk-engine/svg-render.c b/gtk-engine/svg-render.c
index 41d1ebe..7b8cdb3 100644
--- a/gtk-engine/svg-render.c
+++ b/gtk-engine/svg-render.c
@@ -855,7 +855,7 @@ theme_pixbuf_render (ThemePixbuf  *theme_pb,
 	    gdk_draw_rectangle (window, tmp_gc, TRUE, x, y, width, height);
 	  
 	  g_object_unref (tmp_gc);
-	  gdk_pixmap_unref (tmp_pixmap);
+	  g_object_unref (tmp_pixmap);
 	}
     }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]