diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 5c4ce8160c..e108567ffb 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -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);