Fix a bunch of mistakes I made before.

This commit is contained in:
Jaime Thomas
2009-02-17 22:48:11 +00:00
parent 2fb05a62d4
commit 6a4420575a
11 changed files with 183 additions and 175 deletions

View File

@@ -38,7 +38,7 @@ ecdb_project_destroy(Ecdb_Project *proj)
{
if (proj->ev_handler) ecore_event_handler_del(proj->ev_handler);
if (proj->pipe) ecore_pipe_del(proj->pipe);
printf("Destroying base project\n");
printf("base\n");
}
void
@@ -86,9 +86,9 @@ ecdb_burn_project_init(Ecdb_Burn_Project *proj)
void
ecdb_burn_project_destroy(Ecdb_Burn_Project *proj)
{
printf("burn --> ");
if (proj->files) ecdb_source_destroy(proj->files);
ecdb_project_destroy(ECDB_PROJECT(proj));
printf("Destroying burn project\n");
}
Ecdb_Erase_Project *
@@ -130,6 +130,7 @@ ecdb_erase_project_init(Ecdb_Erase_Project *proj)
void
ecdb_erase_project_destroy(Ecdb_Erase_Project *proj)
{
printf("Destroying: erase --> ");
ecdb_project_destroy(ECDB_PROJECT(proj));
FREE(proj);
}
@@ -169,6 +170,7 @@ ecdb_audio_project_init(Ecdb_Audio_Project *proj)
void
ecdb_audio_project_destroy(Ecdb_Audio_Project *proj)
{
printf("Destroying: audio --> ");
ecdb_burn_project_destroy(ECDB_BURN(proj));
FREE(proj);
}
@@ -211,6 +213,7 @@ ecdb_data_project_init(Ecdb_Data_Project *proj)
void
ecdb_data_project_destroy(Ecdb_Data_Project *proj)
{
printf("Destroying: data --> ");
FREE(proj->volume_id);
FREE(proj->publisher_id);
FREE(proj->data_preparer_id);
@@ -256,6 +259,7 @@ ecdb_image_project_init(Ecdb_Image_Project *proj)
void
ecdb_image_project_destroy(Ecdb_Image_Project *proj)
{
printf("Destroying: image --> ");
ecdb_burn_project_destroy(ECDB_BURN(proj));
FREE(proj);
}