[gimp/gtk3-port] FIX AND SQUASH INTO 36b4fa31d0bf99b61c80862cdba9132ade9a32e0



commit 7b7981ec75075ebb748ec435a16e6edfc3b216ba
Author: Simon Budig <simon budig de>
Date:   Sun May 6 19:48:07 2018 +0200

    FIX AND SQUASH INTO 36b4fa31d0bf99b61c80862cdba9132ade9a32e0

 app/core/gimp-modules.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimp-modules.c b/app/core/gimp-modules.c
index 5adfdca..a733919 100644
--- a/app/core/gimp-modules.c
+++ b/app/core/gimp-modules.c
@@ -68,8 +68,11 @@ gimp_modules_load (Gimp *gimp)
   if (gimp->no_interface)
     return;
 
+#warning "this is a quick fix to get gimp to compile again"
+#if 0
   /* FIXME, gimp->be_verbose is not yet initialized in init() */
   gimp->module_db->verbose = gimp->be_verbose;
+#endif
 
   file = gimp_directory_file ("modulerc", NULL);
 
@@ -179,7 +182,8 @@ gimp_modules_unload (Gimp *gimp)
       GError           *error = NULL;
 
       str = g_string_new (NULL);
-      g_list_foreach (gimp->module_db->modules, add_to_inhibit_string, str);
+      g_list_foreach (gimp_module_db_get_modules (gimp->module_db),
+                      add_to_inhibit_string, str);
       if (str->len > 0)
         p = str->str + 1;
       else


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