[Xfce4-commits] <parole:master> Fixed segmentation faults in playlist.
Sean Davis
noreply at xfce.org
Sat Jan 5 09:48:01 CET 2013
Updating branch refs/heads/master
to b2148d040facc3a3470523af18707537adf26ae7 (commit)
from 45559f1b426b2acf63c92d961cb893316c9980f5 (commit)
commit b2148d040facc3a3470523af18707537adf26ae7
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Fri Jan 4 15:26:42 2013 -0500
Fixed segmentation faults in playlist.
src/misc/parole-file.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/misc/parole-file.c b/src/misc/parole-file.c
index 50a9bd3..204f23c 100644
--- a/src/misc/parole-file.c
+++ b/src/misc/parole-file.c
@@ -183,7 +183,7 @@ parole_file_constructed (GObject *object)
{
priv->directory = NULL;
priv->uri = g_strdup(filename);
- priv->content_type = "cdda";
+ priv->content_type = g_strdup("cdda");
g_free(filename);
return;
}
@@ -192,7 +192,7 @@ parole_file_constructed (GObject *object)
{
priv->directory = NULL;
priv->uri = "dvd:/";
- priv->content_type = "dvd";
+ priv->content_type = g_strdup("dvd");
g_free(filename);
return;
}
More information about the Xfce4-commits
mailing list