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.
This commit is contained in:
Stefan Kost 2008-02-26 12:04:21 +00:00
parent 84ac3f0c56
commit 3b2de3c591
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2008-02-26 Stefan Kost <ensonic@users.sf.net>
* ext/nas/nassink.c:
Fix build warning by using portable API.
2008-02-26 Stefan Kost <ensonic@users.sf.net>
* gst/selector/gstoutputselector.c:

View file

@ -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);