[gimp] Bug 766895: The --dump-pdb-procedures-deprecated...



commit 062cf1a5ab7f83837d25a7f85a2309de475633b1
Author: Massimo Valentini <mvalentini src gnome org>
Date:   Fri May 27 19:30:49 2016 +0200

    Bug 766895: The --dump-pdb-procedures-deprecated...
    
    argument triggers a segmentation fault
    
    Initialize babl so that, when gimp is unreffed,
    using a babl_format to destroy a std brush does
    not crash.

 app/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/main.c b/app/main.c
index f498a79..08f1475 100644
--- a/app/main.c
+++ b/app/main.c
@@ -735,6 +735,7 @@ gimp_option_dump_pdb_procedures_deprecated (const gchar  *option_name,
   GList *deprecated_procs;
   GList *iter;
 
+  babl_init ();
   gimp = g_object_new (GIMP_TYPE_GIMP, NULL);
 
   /* Make sure to turn on compatibility mode so deprecated procedures


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