changeset 3304:00286cde2485 trunk

Make filename a const
author Christian Birchinger <joker@netswarm.net>
date Fri, 10 Aug 2007 15:14:20 +0200
parents eaf68ed98166
children 6cadc2ddf4cd 2aed30eaca87
files src/audacious/tuple.c src/audacious/tuple.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/tuple.c	Fri Aug 10 14:48:13 2007 +0200
+++ b/src/audacious/tuple.c	Fri Aug 10 15:14:20 2007 +0200
@@ -84,7 +84,7 @@
 }
 
 Tuple *
-tuple_new_from_filename(gchar *filename)
+tuple_new_from_filename(const gchar *filename)
 {
     gchar *scratch, *ext, *realfn;
     Tuple *tuple;
--- a/src/audacious/tuple.h	Fri Aug 10 14:48:13 2007 +0200
+++ b/src/audacious/tuple.h	Fri Aug 10 15:14:20 2007 +0200
@@ -34,7 +34,7 @@
 } TupleValueType;
 
 Tuple *tuple_new(void);
-Tuple *tuple_new_from_filename(gchar *filename);
+Tuple *tuple_new_from_filename(const gchar *filename);
 gboolean tuple_associate_string(Tuple *tuple, const gchar *field, const gchar *string);
 gboolean tuple_associate_int(Tuple *tuple, const gchar *field, gint integer);
 void tuple_disassociate(Tuple *tuple, const gchar *field);