mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 14:36:16 +01:00
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
This commit is contained in:
parent
463022cc09
commit
706e636ab8
@ -110,7 +110,7 @@ g_bytes_icon_finalize (GObject *object)
|
|||||||
|
|
||||||
icon = G_BYTES_ICON (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);
|
G_OBJECT_CLASS (g_bytes_icon_parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user