test fix for crash at desktop files loading

pull/62/head
parent 8228f93d24
commit aeb9bbb0a2

@ -904,7 +904,7 @@ apps *yon_apps_scan_and_parse_desktops(int *sizef)
if (err)
{
printf("%s\n", err->message);
}
} else {
if (strcmp(Type, "Application") == 0)
tempapp.Type = 1;
else if (strcmp(Type, "pyApplication") == 0)
@ -960,6 +960,7 @@ apps *yon_apps_scan_and_parse_desktops(int *sizef)
}
}
}
}
*sizef = size;
return applist;
};
@ -1026,6 +1027,7 @@ char *yon_app_chooser_open_with_sections(char *section_name, char *section_filte
g_object_ref(box);
gtk_container_remove(GTK_CONTAINER(window),box);
gtk_box_pack_start(GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog))),box,1,1,5);
(gtk_dialog_get_content_area(GTK_DIALOG(dialog)),0);
GtkWidget *main_tree = GTK_WIDGET(gtk_builder_get_object(builder,"MainTree"));
GtkTreeStore *store = GTK_TREE_STORE(gtk_builder_get_object(builder,"treestore1"));
va_list args;

Loading…
Cancel
Save