mirror of https://github.com/GNOME/gimp.git
2ddc2ab7be
- use g_file_peek_path() instead of g_file_get_path() in various places. Less prone to memory management bugs (not forgetting to free in all cases). Also it is often more efficient, especially for local files where the _peek_ variant does not even need to allocate any memory as path is already hanging around (and local files are the most common use cases, I believe!). - Also gets rid of one GFile creation with g_file_new_for_path() from the path returned from another GFile! We can just use the same GFile as it is not freed and perfectly usable. |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile.am | ||
file-webp-dialog.c | ||
file-webp-dialog.h | ||
file-webp-load.c | ||
file-webp-load.h | ||
file-webp-save.c | ||
file-webp-save.h | ||
file-webp.c | ||
file-webp.h | ||
meson.build |