More ISO C90 warning fixes in Clutter
This time, in Clutter core. The ObjC standard library provides a type called 'id', which obviously requires any library to either drop the useful shadowed variable warning or stop using 'id' as a variable name. Yes, it's almost unbearably stupid. Well, at least it's not 'index' in string.h, or 'y2' in math.h.
This commit is contained in:
@ -73,7 +73,7 @@ struct _ClutterScriptableIface
|
||||
|
||||
/*< public >*/
|
||||
void (* set_id) (ClutterScriptable *scriptable,
|
||||
const gchar *id);
|
||||
const gchar *id_);
|
||||
const gchar *(* get_id) (ClutterScriptable *scriptable);
|
||||
|
||||
gboolean (* parse_custom_node) (ClutterScriptable *scriptable,
|
||||
@ -90,7 +90,7 @@ struct _ClutterScriptableIface
|
||||
GType clutter_scriptable_get_type (void) G_GNUC_CONST;
|
||||
|
||||
void clutter_scriptable_set_id (ClutterScriptable *scriptable,
|
||||
const gchar *id);
|
||||
const gchar *id_);
|
||||
G_CONST_RETURN gchar *clutter_scriptable_get_id (ClutterScriptable *scriptable);
|
||||
gboolean clutter_scriptable_parse_custom_node (ClutterScriptable *scriptable,
|
||||
ClutterScript *script,
|
||||
|
Reference in New Issue
Block a user