libgupnp-dlna: Don't depend on gcc-specific attributes
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 16 Aug 2010 12:32:37 +0000 (18:02 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 16 Aug 2010 12:32:37 +0000 (18:02 +0530)
commitfdfaed8ffe4f7e62105c7e8ad03031324150c7ea
treed02544b398aa1b161783c11b03ef6e0063c8e3a1
parent1fe1ec2a4103af23e9074ccb9ec1dc7d9843ab28
libgupnp-dlna: Don't depend on gcc-specific attributes

zeenix points out that g_getenv() isn't *that* expensive, so this
removes the dependency on GCC's constructor attribute. If in the future
we wish to optimise this, the constructor bits can be moved to a
gupnp_dlna_init() or to one of the class init functions.
libgupnp-dlna/gupnp-dlna-profiles.c