[gimp/metadata-browser] app: add a workaround to make GimpModuleDB's "verbose" flag work
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] app: add a workaround to make GimpModuleDB's "verbose" flag work
- Date: Thu, 13 Sep 2012 00:40:58 +0000 (UTC)
commit 96016208d458e79ba25e9b6b146b95aa22610aa2
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.
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]