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:
parent
84332cb647
commit
9f3911865f
5 changed files with 32 additions and 19 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue