Use G_OBJECT_TYPE_NAME instead of g_type_name_from_instance

This commit is contained in:
Alexander Larsson 2020-02-07 08:44:29 +01:00
parent a772bf7517
commit 79699cc20d

View File

@ -3622,7 +3622,7 @@ gtk_icon_theme_lookup_by_gicon (GtkIconTheme *self,
}
else
{
g_debug ("Unhandled GIcon type %s", g_type_name_from_instance ((GTypeInstance *)gicon));
g_debug ("Unhandled GIcon type %s", G_OBJECT_TYPE_NAME (gicon));
icon = icon_paintable_new (size, scale);
icon->icon_name = g_strdup ("image-missing");
icon->filename = g_strdup (IMAGE_MISSING_RESOURCE_PATH);