Rename layer info deletion function

This commit is contained in:
Mario Hüttel 2019-03-14 21:39:12 +01:00
parent 6b03695824
commit bb2a4f7f04
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
#include "layer-info.h"
void delete_layer_info_struct(struct layer_info *info)
void layer_info_delete_struct(struct layer_info *info)
{
if (info)
free(info);

View File

@ -21,6 +21,6 @@ struct layer_info
* @param info Struct to be deleted.
* @note The layer_info::name Element has to be freed manually
*/
void delete_layer_info_struct(struct layer_info *info);
void layer_info_delete_struct(struct layer_info *info);
#endif // _LAYERINFO_H_
#endif // _LAYER_INFO_H_

View File

@ -344,7 +344,7 @@ static void on_convert_clicked(gpointer button, gpointer user)
gtk_widget_destroy(dialog);
}
ret_layer_destroy:
g_list_free_full(layer_list, (GDestroyNotify)delete_layer_info_struct);
g_list_free_full(layer_list, (GDestroyNotify)layer_info_delete_struct);
}
/**