[gimp/gimp-2-10] app: cosmetic change in file_pat_load_invoker()



commit 4944e61bc3941f56e2b8c5735f01878cbc11d49e
Author: Michael Natterer <mitch gimp org>
Date:   Tue Feb 19 23:16:22 2019 +0100

    app: cosmetic change in file_pat_load_invoker()
    
    just for consistency with file_gbr_load_invoker().
    
    (cherry picked from commit 7aa99c8cf080f00ef4f375671a2169151dcc9163)

 app/file-data/file-data-pat.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/app/file-data/file-data-pat.c b/app/file-data/file-data-pat.c
index 8c599a8c08..4ecd7f180f 100644
--- a/app/file-data/file-data-pat.c
+++ b/app/file-data/file-data-pat.c
@@ -77,9 +77,7 @@ file_pat_load_invoker (GimpProcedure         *procedure,
 
   if (input)
     {
-      GList *list;
-
-      list = gimp_pattern_load (context, file, input, error);
+      GList *list = gimp_pattern_load (context, file, input, error);
 
       if (list)
         {


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