Removed "g_object_destroy(renderer)" as it is deprecated.