[gnome-control-center] user-accounts: Fix deprecated function in um-utils.c
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] user-accounts: Fix deprecated function in um-utils.c
- Date: Thu, 21 Feb 2013 16:10:04 +0000 (UTC)
commit 68dd98ba60bc66bf3db4bf8a1da8827ecb491606
Author: Ángel Guzmán Maeso <shakaran gmail com>
Date: Thu Feb 21 15:42:33 2013 +0100
user-accounts: Fix deprecated function in um-utils.c
From gtk_icon_info_free() to g_object_unref()
https://bugzilla.gnome.org/show_bug.cgi?id=694362
panels/user-accounts/um-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/user-accounts/um-utils.c b/panels/user-accounts/um-utils.c
index 69868a0..89005da 100644
--- a/panels/user-accounts/um-utils.c
+++ b/panels/user-accounts/um-utils.c
@@ -94,7 +94,7 @@ icon_shape_renderer (cairo_t *cr,
(gint)height,
GTK_ICON_LOOKUP_FORCE_SIZE |
GTK_ICON_LOOKUP_USE_BUILTIN);
pixbuf = gtk_icon_info_load_icon (info, NULL);
- gtk_icon_info_free (info);
+ g_object_unref (info);
cairo_set_operator (cr, CAIRO_OPERATOR_OVER);
cairo_reset_clip (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]