Make GEmblem more robust

No reason not to survive g_object_unref (g_object_new (...)).
This commit is contained in:
Matthias Clasen 2013-12-23 15:00:18 -05:00
parent 62b28546af
commit 34de9189f6

View File

@ -122,6 +122,7 @@ g_emblem_finalize (GObject *object)
{
GEmblem *emblem = G_EMBLEM (object);
if (emblem->icon)
g_object_unref (emblem->icon);
(*G_OBJECT_CLASS (g_emblem_parent_class)->finalize) (object);