[planner] Remove deprecated gdk_pixbuf_unref () call; replaced by g_object_unref: This avoid make crash



commit f4fce4c4fb9f4d5299953a08fbd489f031b78191
Author: Daniel Mustieles <daniel mustieles gmail com>
Date:   Tue May 8 17:20:43 2012 +0200

    Remove deprecated gdk_pixbuf_unref () call; replaced by g_object_unref: This avoid make crash

 src/planner-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/planner-window.c b/src/planner-window.c
index b0536c3..fa784df 100644
--- a/src/planner-window.c
+++ b/src/planner-window.c
@@ -1219,7 +1219,7 @@ window_about_cb (GtkAction *action,
 			       NULL);
 
 	if (pixbuf != NULL) {
-		gdk_pixbuf_unref (pixbuf);
+		g_object_unref (pixbuf);
 	}
 }
 



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