Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo in serializer #2

Open
bpeel opened this issue Aug 14, 2012 · 1 comment
Open

typo in serializer #2

bpeel opened this issue Aug 14, 2012 · 1 comment

Comments

@bpeel
Copy link
Member

bpeel commented Aug 14, 2012

(issue originally reported on bugzilla.clutter-project.org by Antoine Roguez)

I found a typo in cluttersmith (cs-serializer.c): When an actor has a
ClutterChildMeta which has a property of type G_TYPE_ENUM, the serialization of
the property is not prefixed with "child::".

@bpeel
Copy link
Member Author

bpeel commented Aug 14, 2012

--- cs-serializer.c.ori 2010-09-24 11:03:03.000000000 +0200
+++ cs-serializer.c 2010-09-24 11:05:44.000000000 +0200
@@ -474,7 +474,7 @@
continue;
enum_value = g_enum_get_value (enum_class, value);
g_string_append_printf (str, ",\n");

  •        INDENT;g_string_append_printf (str,"\"%s\":\"%s\"",
    
  •        INDENT;g_string_append_printf (str,"\"child::%s\":\"%s\"",
                                        child_properties[i]->name, enum_value->value_nick);
       }
     else
    

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant