Fixed some crashes and made capplet to save/load new mime types the right

way (I hope). We still mess up TreeModel if adding new entries - no idea
where in model impl that resides.
This commit is contained in:
Lauris Kaplinski 2002-03-30 02:05:22 +00:00
parent 84332cb647
commit 9f3911865f
5 changed files with 32 additions and 19 deletions

View file

@ -39,7 +39,7 @@ static GList *delete_list = NULL;
ModelEntry *
get_model_entries (GtkTreeModel *model)
{
static ModelEntry *root;
static ModelEntry *root = NULL;
if (root == NULL) {
root = g_new0 (ModelEntry, 1);