GSettings: peek instead of ref/unref enum class
authorRyan Lortie <desrt@desrt.ca>
Mon, 28 Jun 2010 17:58:25 +0000 (13:58 -0400)
committerRyan Lortie <desrt@desrt.ca>
Mon, 28 Jun 2010 17:58:25 +0000 (13:58 -0400)
commitab1111b8bbb7a6057248658013eb23d80f4721cf
treefda6d165e01655f297e8a9594111b83f0f727a37
parent168cfc592283c992d6a6803a91528f87cec2d902
GSettings: peek instead of ref/unref enum class

We only ever do the enum mapping for the property binding in the case
that a GParamSpecEnum exists and in that case the class is already
referenced by the GParamSpec.  Use peek instead of ref/unref and add a
clarifying note.
gio/gsettings-mapping.c