anjuta r4769 - in trunk: . libanjuta
- From: aklapper svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4769 - in trunk: . libanjuta
- Date: Fri, 20 Feb 2009 19:56:02 +0000 (UTC)
Author: aklapper
Date: Fri Feb 20 19:56:02 2009
New Revision: 4769
URL: http://svn.gnome.org/viewvc/anjuta?rev=4769&view=rev
Log:
2009-02-20 Andre Klapper <a9016009 gmx de>
* libanjuta/e-splash.c:
Replace deprecated gdk_pixbuf_(un)ref by g_object_(un)ref.
Modified:
trunk/ChangeLog
trunk/libanjuta/e-splash.c
Modified: trunk/libanjuta/e-splash.c
==============================================================================
--- trunk/libanjuta/e-splash.c (original)
+++ trunk/libanjuta/e-splash.c Fri Feb 20 19:56:02 2009
@@ -71,7 +71,7 @@
priv = splash->priv;
if (priv->splash_image_pixbuf != NULL)
- gdk_pixbuf_unref (priv->splash_image_pixbuf);
+ g_object_unref (priv->splash_image_pixbuf);
g_free (priv);
}
@@ -136,7 +136,7 @@
priv = splash->priv;
priv->progressbar_position = progressbar_position;
- priv->splash_image_pixbuf = gdk_pixbuf_ref (splash_image_pixbuf);
+ priv->splash_image_pixbuf = g_object_ref (splash_image_pixbuf);
canvas = gnome_canvas_new_aa ();
priv->canvas = GNOME_CANVAS (canvas);
@@ -208,7 +208,7 @@
splash = g_object_new (e_splash_get_type (), "type", GTK_WINDOW_TOPLEVEL, NULL);
e_splash_construct (splash, splash_image_pixbuf, progressbar_position);
- /* gdk_pixbuf_unref (splash_image_pixbuf); */
+ /* g_object_unref (splash_image_pixbuf); */
return GTK_WIDGET (splash);
}
@@ -257,7 +257,7 @@
GDK_INTERP_HYPER);
g_object_set (G_OBJECT (priv->canvas_icon),
"pixbuf", scaled_pixbuf, NULL);
- gdk_pixbuf_unref (scaled_pixbuf);
+ g_object_unref (scaled_pixbuf);
}
if (title)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]