[gimp/gimp-2-8] app: add a workaround to make GimpModuleDB's "verbose" flag work
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] app: add a workaround to make GimpModuleDB's "verbose" flag work
- Date: Sat, 8 Sep 2012 10:51:10 +0000 (UTC)
commit d4ebc9562d7696fb0e7efa004ca1e65c18d7236d
Author: Michael Natterer <mitch gimp org>
Date: Sat Sep 8 12:48:53 2012 +0200
app: add a workaround to make GimpModuleDB's "verbose" flag work
so we get module output from gimp --verbose.
(cherry picked from commit 4db6a970ded1eeb5d8de39eb2eab3d008e9370b0)
app/core/gimp-modules.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimp-modules.c b/app/core/gimp-modules.c
index 0d4764b..215f23d 100644
--- a/app/core/gimp-modules.c
+++ b/app/core/gimp-modules.c
@@ -73,6 +73,9 @@ gimp_modules_load (Gimp *gimp)
if (gimp->no_interface)
return;
+ /* FIXME, gimp->be_verbose is not yet initialized in init() */
+ gimp->module_db->verbose = gimp->be_verbose;
+
filename = gimp_personal_rc_file ("modulerc");
if (gimp->be_verbose)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]