summaryrefslogtreecommitdiff
path: root/ext/nas
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2008-02-26 12:04:21 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2008-02-26 12:04:21 +0000
commit3b2de3c5916a32ef4d1e86be6eb62b41e952fdb6 (patch)
treefcbad72eedea979010e66c05e9a92029a5ceb2dc /ext/nas
parent84ac3f0c567fd117d76abdc17856b85651730b39 (diff)
downloadgstreamer-plugins-bad-3b2de3c5916a32ef4d1e86be6eb62b41e952fdb6.tar.gz
ext/nas/nassink.c: Fix build warning by using portable API.
Original commit message from CVS: * ext/nas/nassink.c: Fix build warning by using portable API.
Diffstat (limited to 'ext/nas')
-rw-r--r--ext/nas/nassink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/nas/nassink.c b/ext/nas/nassink.c
index e2d91d188..6f5a003ee 100644
--- a/ext/nas/nassink.c
+++ b/ext/nas/nassink.c
@@ -287,9 +287,9 @@ gst_nas_sink_set_property (GObject * object, guint prop_id,
g_free (nassink->host);
nassink->host = g_value_dup_string (value);
if (nassink->host == NULL)
- nassink->host = g_strdup (getenv ("AUDIOSERVER"));
+ nassink->host = g_strdup (g_getenv ("AUDIOSERVER"));
if (nassink->host == NULL)
- nassink->host = g_strdup (getenv ("DISPLAY"));
+ nassink->host = g_strdup (g_getenv ("DISPLAY"));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);