gimp/plug-ins/file-jpeg
Jehan 231ca0c505 Issue #9994: do not call g_file_info_get_is_hidden() (and others) directly.
This is not the main reason for the specific output in #9994. These ones are
more probably because of similar usage in GTK (which updated its own calls to
g_file_info_get_is_hidden|backup() in version 3.24.38). But we should likely
also update the various calls we have to use the generic
g_file_info_get_attribute_*() variants.

To be fair, it is unclear to me when we can be sure that an attribute is set.
For instance, when we call g_file_enumerate_children() or g_file_query_info()
with specific attributes, docs say that it is still possible for these
attributes to not be set. So I assume it means we should never use direct
accessor functions.

The only exception is that I didn't remove usage of g_file_info_get_name(),
since its docs says:

> * Gets a display name for a file. This is guaranteed to always be set.

Even though it also says just after:

> * It is an error to call this if the #GFileInfo does not contain
> * %G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME.

Which is very contradictory. But assuming that this error warning was
over-zealous documentation, I kept the direct accessors since they are supposed
to be slightly more optimized (still according to in-code documentation) so
let's priorize them when we know they are set for sure.
2023-09-19 15:34:48 +02:00
..
COPYING.ijg file-jpeg: Fix the copyright and license notices of jpeg-icc.* 2018-08-29 17:38:49 +02:00
jpeg-icc.c file-jpeg: Fix the copyright and license notices of jpeg-icc.* 2018-08-29 17:38:49 +02:00
jpeg-icc.h file-jpeg: Fix the copyright and license notices of jpeg-icc.* 2018-08-29 17:38:49 +02:00
jpeg-load.c plug-ins: Load PSD metadata in JPEG plug-in 2023-04-26 12:26:31 +00:00
jpeg-load.h plug-ins: Load PSD metadata in JPEG plug-in 2023-04-26 12:26:31 +00:00
jpeg-quality.c Use "Returns:" to annotate return values 2019-08-03 07:53:47 +00:00
jpeg-quality.h Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
jpeg-save.c Issue #9994: do not call g_file_info_get_is_hidden() (and others) directly. 2023-09-19 15:34:48 +02:00
jpeg-save.h plug-ins: Use CMYK profile stored in GimpImage 2022-07-19 19:26:45 +00:00
jpeg-settings.c plug-ins: replace gimp_parasite_data*() with gimp_parasite_get_data(). 2021-01-30 00:20:34 +01:00
jpeg-settings.h plug-ins: port file-jpeg to GimpPlugIn and to libgimp objects 2019-08-24 02:33:45 +02:00
jpeg.c plug-ins: Mark JPEG export dialog related strings translatable 2023-08-25 19:41:42 +00:00
jpeg.h Issue #6280: JPEG preview window doesn't get closed. 2021-04-30 01:35:51 +02:00
jpegqual.c Replace uses of plain fopen () with GLib's g_fopen () 2023-01-24 14:48:44 +00:00
meson.build meson: fix warnings of deprecated features. 2022-08-31 01:29:37 +02:00