aboutsummaryrefslogtreecommitdiff
path: root/src/service.vala
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2015-12-31 14:53:56 -0600
committercharles kerr <charlesk@canonical.com>2015-12-31 14:53:56 -0600
commitf94de8d944e0f10ca6f37d17fb4b0e5ab33a9b60 (patch)
treed8fb0a6676de70c61c3c0783d70dbd3a1bcdc989 /src/service.vala
parent787326bc59fb002cdf3231618f64e050d81a714a (diff)
downloadayatana-indicator-sound-f94de8d944e0f10ca6f37d17fb4b0e5ab33a9b60.tar.gz
ayatana-indicator-sound-f94de8d944e0f10ca6f37d17fb4b0e5ab33a9b60.tar.bz2
ayatana-indicator-sound-f94de8d944e0f10ca6f37d17fb4b0e5ab33a9b60.zip
fix references to unowned strings returned by Environment.get_variable()
Diffstat (limited to 'src/service.vala')
-rw-r--r--src/service.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.vala b/src/service.vala
index 8615386..5009099 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -211,7 +211,7 @@ public class IndicatorSound.Service: Object {
}
void activate_desktop_settings (SimpleAction action, Variant? param) {
- var env = Environment.get_variable ("DESKTOP_SESSION");
+ unowned string env = Environment.get_variable ("DESKTOP_SESSION");
string cmd;
if (Environment.get_variable ("MIR_SOCKET") != null)