Rename layer info deletion function
This commit is contained in:
parent
6b03695824
commit
bb2a4f7f04
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#include "layer-info.h"
|
#include "layer-info.h"
|
||||||
|
|
||||||
void delete_layer_info_struct(struct layer_info *info)
|
void layer_info_delete_struct(struct layer_info *info)
|
||||||
{
|
{
|
||||||
if (info)
|
if (info)
|
||||||
free(info);
|
free(info);
|
||||||
|
@ -21,6 +21,6 @@ struct layer_info
|
|||||||
* @param info Struct to be deleted.
|
* @param info Struct to be deleted.
|
||||||
* @note The layer_info::name Element has to be freed manually
|
* @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_
|
||||||
|
@ -344,7 +344,7 @@ static void on_convert_clicked(gpointer button, gpointer user)
|
|||||||
gtk_widget_destroy(dialog);
|
gtk_widget_destroy(dialog);
|
||||||
}
|
}
|
||||||
ret_layer_destroy:
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user