summaryrefslogtreecommitdiff
path: root/accessx-status
diff options
context:
space:
mode:
authorCallum McKenzie <callum@src.gnome.org>2009-02-17 00:21:22 +0000
committerCallum McKenzie <callum@src.gnome.org>2009-02-17 00:21:22 +0000
commitd1f5d2d9d711e625e6ef3e50fa44ca48d2fb3003 (patch)
treedf99df6ee7d4e3b6faf4410a4bf20422d442f486 /accessx-status
parent1e3c6a044e4e713f8b05756f51b12bb64626f4cc (diff)
More deprecated function replacement. (gdk_pixbuf this time)
svn path=/trunk/; revision=11291
Diffstat (limited to 'accessx-status')
-rw-r--r--accessx-status/applet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/accessx-status/applet.c b/accessx-status/applet.c
index b9c4e9a91..67379b348 100644
--- a/accessx-status/applet.c
+++ b/accessx-status/applet.c
@@ -548,7 +548,7 @@ accessx_status_applet_bouncekeys_image (AccessxStatusApplet *sapplet, XkbAccessX
gdk_pixbuf_get_height (glyph_pixbuf) - 1,
1., 1., 1.0, 1.0, GDK_INTERP_NEAREST, 255);
- gdk_pixbuf_unref (glyph_pixbuf);
+ g_object_unref (glyph_pixbuf);
}
return icon_base;
}
@@ -659,7 +659,7 @@ accessx_status_applet_update (AccessxStatusApplet *sapplet,
GdkPixbuf *pixbuf = accessx_status_applet_mousekeys_image (
sapplet, &event->state);
gtk_image_set_from_pixbuf (GTK_IMAGE (sapplet->mousefoo), pixbuf);
- gdk_pixbuf_unref (pixbuf);
+ g_object_unref (pixbuf);
}
if (notify_type & ACCESSX_STATUS_ENABLED) {
@@ -865,7 +865,7 @@ accessx_status_applet_altgraph_icon_set (AccessxStatusApplet *sapplet, GtkWidget
gdk_pixbuf_get_width (glyph_pixbuf),
gdk_pixbuf_get_height (glyph_pixbuf),
0., 0., 1.0, 1.0, GDK_INTERP_NEAREST, alpha);
- gdk_pixbuf_unref (glyph_pixbuf);
+ g_object_unref (glyph_pixbuf);
gtk_icon_source_set_pixbuf (source, pixbuf);
gtk_icon_source_set_state (source, states[i]);
gtk_icon_source_set_state_wildcarded (source, wildcarded);