diff --git a/layer/layer-info.c b/layer/layer-info.c index 368bc90..a91b76f 100644 --- a/layer/layer-info.c +++ b/layer/layer-info.c @@ -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); diff --git a/layer/layer-info.h b/layer/layer-info.h index f56040a..0da51b2 100644 --- a/layer/layer-info.h +++ b/layer/layer-info.h @@ -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_ diff --git a/main-window.c b/main-window.c index 1291609..1bf5d05 100644 --- a/main-window.c +++ b/main-window.c @@ -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); } /**