Looks like DesktopAppInfo.get_icon() is returning NULL when called by MediaPlayer's "icon" property getter, and we're passing that NULL into g_icon_serialize().
Looks like DesktopAppInfo. get_icon( ) is returning NULL when called by MediaPlayer's "icon" property getter, and we're passing that NULL into g_icon_serialize().