[gimp] app: GimpThumbnailProcedure expects a GFile too.



commit 7b220257da8bf14828eb71ee2ce5cd669d32f4f3
Author: Jehan <jehan girinstud io>
Date:   Wed Feb 9 22:31:24 2022 +0100

    app: GimpThumbnailProcedure expects a GFile too.
    
    This was the reason why no thumbnail procedure was working on the dev
    branch.

 app/file/file-open.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/file/file-open.c b/app/file/file-open.c
index 8162c497bc..e5f0b45f34 100644
--- a/app/file/file-open.c
+++ b/app/file/file-open.c
@@ -354,8 +354,8 @@ file_open_thumbnail (Gimp           *gimp,
         gimp_pdb_execute_procedure_by_name (gimp->pdb,
                                             context, progress, error,
                                             gimp_object_get_name (procedure),
-                                            G_TYPE_STRING, uri,
-                                            G_TYPE_INT,    size,
+                                            G_TYPE_FILE, file,
+                                            G_TYPE_INT,  size,
                                             G_TYPE_NONE);
 
       g_free (uri);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]