mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-28 23:12:17 +01:00 
			
		
		
		
	Make GEmblem more robust
No reason not to survive g_object_unref (g_object_new (...)).
This commit is contained in:
		| @@ -122,7 +122,8 @@ g_emblem_finalize (GObject *object) | ||||
| { | ||||
|   GEmblem *emblem = G_EMBLEM (object); | ||||
|  | ||||
|   g_object_unref (emblem->icon); | ||||
|   if (emblem->icon) | ||||
|     g_object_unref (emblem->icon); | ||||
|  | ||||
|   (*G_OBJECT_CLASS (g_emblem_parent_class)->finalize) (object); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user