[gimp] app: class label is a translated string.



commit f61b58ff38b2453550ea0212d77b99fea3848acd
Author: Jehan <jehan girinstud io>
Date:   Thu Feb 4 01:20:27 2016 +0100

    app: class label is a translated string.
    
    This will make the parasite name change with language, which isn't
    what we want. Uses the GType name instead.

 app/core/gimpsymmetry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimpsymmetry.c b/app/core/gimpsymmetry.c
index beee6d9..fb140ac 100644
--- a/app/core/gimpsymmetry.c
+++ b/app/core/gimpsymmetry.c
@@ -389,7 +389,7 @@ gimp_symmetry_parasite_name (GType type)
 {
   GimpSymmetryClass *klass = g_type_class_ref (type);
 
-  return g_strconcat ("gimp-image-symmetry:", klass->label, NULL);
+  return g_strconcat ("gimp-image-symmetry:", g_type_name (type), NULL);
 }
 
 GimpParasite *


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