summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ext/nas/nassink.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d4aa46b5..e9539f5e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
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:
Fix changing to same pad twice before a chain call.
diff --git a/ext/nas/nassink.c b/ext/nas/nassink.c
index e2d91d18..6f5a003e 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);