[gimp] libgimp: fix type names: s/FooParamSpecString/FooParamString/



commit fb9b315fd4f73ea8931ae1fcdcfb2609efe36127
Author: Michael Natterer <mitch gimp org>
Date:   Tue Aug 27 18:08:58 2019 +0200

    libgimp: fix type names: s/FooParamSpecString/FooParamString/

 libgimp/gimpgpparams-body.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgimp/gimpgpparams-body.c b/libgimp/gimpgpparams-body.c
index bf285d55f9..d57cca3f1a 100644
--- a/libgimp/gimpgpparams-body.c
+++ b/libgimp/gimpgpparams-body.c
@@ -113,8 +113,8 @@ _gimp_param_spec_to_gp_param_def (GParamSpec *pspec,
     {
       GParamSpecString *gsspec = G_PARAM_SPEC_STRING (pspec);
 
-      if (! strcmp (param_def->type_name, "GimpParamSpecString"))
-        param_def->type_name = "GParamSpecString";
+      if (! strcmp (param_def->type_name, "GimpParamString"))
+        param_def->type_name = "GParamString";
 
       param_def->param_def_type = GP_PARAM_DEF_TYPE_STRING;
 


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