- model = gtk_tree_view_get_model(GTK_TREE_VIEW(tag_goto_tree_view));
- gtk_list_store_clear(GTK_LIST_STORE(model));
- foreach_ptr_array(tmtag, i, tags)
- {
gchar *fname = g_path_get_basename(tmtag->file->file_name);
gchar *text;
if (first && have_best)
text = g_strdup_printf("<b>%s: %lu</b>", fname, tmtag->line);
else
text = g_strdup_printf("%s: %lu", fname, tmtag->line);
gtk_list_store_insert_with_values(GTK_LIST_STORE(model), &iter, -1,
PIXBUF_COLUMN, get_tag_icon(get_tag_class(tmtag)),
this leaks the pixbuf I think
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/406/files#r52908551
github-comments@lists.geany.org