From 6043cbbc55d612e29b9d0fa5f10459f06896adcf Mon Sep 17 00:00:00 2001 From: bertrand Date: Fri, 20 Aug 1999 18:37:36 +0000 Subject: name parameter is const. This fixes a bug in destroy () 1999-08-20 bertrand * camel/camel-stream-fs.c (camel_stream_fs_new_with_name): name parameter is const. This fixes a bug in destroy () svn path=/trunk/; revision=1135 --- camel/camel-stream-fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/camel-stream-fs.h') diff --git a/camel/camel-stream-fs.h b/camel/camel-stream-fs.h index 9f295cdb4a..86d955cc1c 100644 --- a/camel/camel-stream-fs.h +++ b/camel/camel-stream-fs.h @@ -70,7 +70,7 @@ GtkType camel_stream_fs_get_type (void); /* public methods */ -CamelStream *camel_stream_fs_new_with_name (gchar *name, CamelStreamFsMode mode); +CamelStream *camel_stream_fs_new_with_name (const gchar *name, CamelStreamFsMode mode); CamelStream *camel_stream_fs_new_with_fd (int fd); #ifdef __cplusplus -- cgit v1.2.3