GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit bae0b8fa authored by Christian Hergert's avatar Christian Hergert

tree: clear lingering icon-name

If we did not get an icon-name, we might still have an icon-name
set in the cell renderer. This ensures we clear it.
parent d6e29069
......@@ -435,7 +435,7 @@ pixbuf_func (GtkCellLayout *cell_layout,
icon = dzl_tree_node_get_gicon (node);
g_object_get (cell, "gicon", &old_icon, NULL);
if (icon != old_icon)
if (icon != old_icon || icon == NULL)
g_object_set (cell, "gicon", icon, NULL);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment