[glib] bytesicon: don't use g_object_unref() on GBytes
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] bytesicon: don't use g_object_unref() on GBytes
- Date: Sat, 27 Apr 2013 10:46:09 +0000 (UTC)
commit 706e636ab83de76c22ed7f2e56df9a1bcb49b39a
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Apr 26 17:11:02 2013 -0400
bytesicon: don't use g_object_unref() on GBytes
We need to use g_bytes_unref()
https://bugzilla.gnome.org/show_bug.cgi?id=699001
gio/gbytesicon.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gbytesicon.c b/gio/gbytesicon.c
index dc0932a..dea13cc 100644
--- a/gio/gbytesicon.c
+++ b/gio/gbytesicon.c
@@ -110,7 +110,7 @@ g_bytes_icon_finalize (GObject *object)
icon = G_BYTES_ICON (object);
- g_object_unref (icon->bytes);
+ g_bytes_unref (icon->bytes);
G_OBJECT_CLASS (g_bytes_icon_parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]