GAction: make GObject properties read-only
authorRyan Lortie <desrt@desrt.ca>
Wed, 29 Jun 2011 16:13:58 +0000 (17:13 +0100)
committerRobert Ancell <robert.ancell@canonical.com>
Wed, 29 Jun 2011 16:32:21 +0000 (17:32 +0100)
commitbde41dacf7e52262df69f70ce00fa33272ea3afa
tree366c4635ceac4eb717c3f00b21270330e1fbf70c
parente6a25caa82410038e635c30deefbe3d0812aa9d3
GAction: make GObject properties read-only

GAction is a read-only interface (as is visible by the lack of _set() functions
on its API).  The properties on the interface currently force implementors to
support writing of the properties at construct time, however.

Lift that restriction.

Take advantage of this from GSimpleAction by nuking the set_property
function and setting the fields directly in the constructor.
gio/gaction.c
gio/gsimpleaction.c