gnome-system-tools r4299 - in trunk: . src/common src/shares src/time/e-map
- From: thomashpa svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-system-tools r4299 - in trunk: . src/common src/shares src/time/e-map
- Date: Tue, 24 Feb 2009 21:53:21 +0000 (UTC)
Author: thomashpa
Date: Tue Feb 24 21:53:20 2009
New Revision: 4299
URL: http://svn.gnome.org/viewvc/gnome-system-tools?rev=4299&view=rev
Log:
replace gdk_pixbuf_unref by g_object_unref. Bug #570952
Modified:
trunk/ChangeLog
trunk/src/common/gst-tool.c
trunk/src/shares/share-nfs-add-hosts.c
trunk/src/time/e-map/e-map.c
Modified: trunk/src/common/gst-tool.c
==============================================================================
--- trunk/src/common/gst-tool.c (original)
+++ trunk/src/common/gst-tool.c Tue Feb 24 21:53:20 2009
@@ -167,7 +167,7 @@
gtk_image_set_from_pixbuf (GTK_IMAGE (tool->report_pixmap), pixbuf);
if (pixbuf)
- gdk_pixbuf_unref (pixbuf);
+ g_object_unref (pixbuf);
tool->objects = g_ptr_array_new ();
Modified: trunk/src/shares/share-nfs-add-hosts.c
==============================================================================
--- trunk/src/shares/share-nfs-add-hosts.c (original)
+++ trunk/src/shares/share-nfs-add-hosts.c Tue Feb 24 21:53:20 2009
@@ -132,7 +132,7 @@
2, NFS_SHARE_NETWORK,
3, NULL,
-1);
- gdk_pixbuf_unref (pixbuf);
+ g_object_unref (pixbuf);
}
static void
Modified: trunk/src/time/e-map/e-map.c
==============================================================================
--- trunk/src/time/e-map/e-map.c (original)
+++ trunk/src/time/e-map/e-map.c Tue Feb 24 21:53:20 2009
@@ -288,13 +288,13 @@
if (priv->map_pixbuf)
{
- gdk_pixbuf_unref (priv->map_pixbuf);
+ g_object_unref (priv->map_pixbuf);
priv->map_pixbuf = NULL;
}
if (priv->map_render_pixbuf)
{
- gdk_pixbuf_unref (priv->map_render_pixbuf);
+ g_object_unref (priv->map_render_pixbuf);
priv->map_render_pixbuf = NULL;
}
@@ -993,7 +993,7 @@
/* pb0 = tool_load_image (name);*/
if (!pb0) return (FALSE);
- if (priv->map_pixbuf) gdk_pixbuf_unref (priv->map_pixbuf);
+ if (priv->map_pixbuf) g_object_unref (priv->map_pixbuf);
priv->map_pixbuf = pb0;
update_render_pixbuf (view, TRUE);
@@ -1037,7 +1037,7 @@
/* Reallocate the pixbuf */
- if (priv->map_render_pixbuf) gdk_pixbuf_unref (priv->map_render_pixbuf);
+ if (priv->map_render_pixbuf) g_object_unref (priv->map_render_pixbuf);
priv->map_render_pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, /* No alpha */
8, width, height);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]