[gimp/gimp-2-10] plug-ins: register file-heif proc on init() instead of query().
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] plug-ins: register file-heif proc on init() instead of query().
- Date: Mon, 26 Oct 2020 17:27:03 +0000 (UTC)
commit c2ba474c81ba98f99dc1fc9b0f591008af33a965
Author: Jehan <jehan girinstud io>
Date: Mon Oct 26 18:25:23 2020 +0100
plug-ins: register file-heif proc on init() instead of query().
Same as commit d48dae7181 but for libgimp 2.10 API.
plug-ins/common/file-heif.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plug-ins/common/file-heif.c b/plug-ins/common/file-heif.c
index bb1e530ac3..e79419d5f0 100644
--- a/plug-ins/common/file-heif.c
+++ b/plug-ins/common/file-heif.c
@@ -47,7 +47,7 @@ struct _SaveParams
/* local function prototypes */
-static void query (void);
+static void init (void);
static void run (const gchar *name,
gint nparams,
const GimpParam *param,
@@ -73,9 +73,9 @@ static gboolean save_dialog (SaveParams *params,
GimpPlugInInfo PLUG_IN_INFO =
{
- NULL, /* init_proc */
+ init, /* init_proc */
NULL, /* quit_proc */
- query, /* query_proc */
+ NULL, /* query_proc */
run, /* run_proc */
};
@@ -84,7 +84,7 @@ MAIN ()
static void
-query (void)
+init (void)
{
static const GimpParamDef load_args[] =
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]