script-parser: Expose extracting the id from a node

The get_id_from_node() internal function should be exposed inside
Clutter (as a private function) because it can be useful to other
custom parsing code. The code is pretty trivial, but it would be
pointless to re-implement it.
This commit is contained in:
Emmanuele Bassi
2010-06-17 16:41:44 +01:00
parent c85d535a09
commit a4dbcf0c32
2 changed files with 7 additions and 5 deletions

View File

@ -149,6 +149,8 @@ guint _clutter_script_get_last_merge_id (ClutterScript *script);
void _clutter_script_add_object_info (ClutterScript *script,
ObjectInfo *oinfo);
const gchar *_clutter_script_get_id_from_node (JsonNode *node);
G_END_DECLS
#endif /* __CLUTTER_SCRIPT_PRIVATE_H__ */