[gimp] plug-ins: implement file-heif proc list in init_procedures() instead…
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: implement file-heif proc list in init_procedures() instead…
- Date: Mon, 26 Oct 2020 16:55:36 +0000 (UTC)
commit d48dae71816ddfff322f4b832e868a89e6691192
Author: Jehan <jehan girinstud io>
Date: Mon Oct 26 17:53:00 2020 +0100
plug-ins: implement file-heif proc list in init_procedures() instead…
… of query_procedures().
Since our procedure list is now fully dynamic with runtime check, it's
much better to run it at every startup. Basically if some has updated
libheif with new encoders/decoders, we want GIMP to be aware at it at
next startup even if the plug-in has not been updated.
plug-ins/common/file-heif.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/common/file-heif.c b/plug-ins/common/file-heif.c
index 4fa078719b..bcd27b5812 100644
--- a/plug-ins/common/file-heif.c
+++ b/plug-ins/common/file-heif.c
@@ -75,7 +75,7 @@ struct _HeifClass
GType heif_get_type (void) G_GNUC_CONST;
-static GList * heif_query_procedures (GimpPlugIn *plug_in);
+static GList * heif_init_procedures (GimpPlugIn *plug_in);
static GimpProcedure * heif_create_procedure (GimpPlugIn *plug_in,
const gchar *name);
@@ -133,7 +133,7 @@ heif_class_init (HeifClass *klass)
{
GimpPlugInClass *plug_in_class = GIMP_PLUG_IN_CLASS (klass);
- plug_in_class->query_procedures = heif_query_procedures;
+ plug_in_class->init_procedures = heif_init_procedures;
plug_in_class->create_procedure = heif_create_procedure;
}
@@ -143,7 +143,7 @@ heif_init (Heif *heif)
}
static GList *
-heif_query_procedures (GimpPlugIn *plug_in)
+heif_init_procedures (GimpPlugIn *plug_in)
{
GList *list = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]