From a3fe42808174f1593559cfdcd581a4791d139f72 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Tue, 17 Mar 2009 11:21:37 +0000 Subject: [PATCH] fix attributes argument of query_info methods to be "const char *". 2009-03-17 Alexander Larsson * glocalfileinputstream.c: * glocalfileoutputstream.c: fix attributes argument of query_info methods to be "const char *". svn path=/trunk/; revision=8000 --- gio/ChangeLog | 7 +++++++ gio/glocalfileinputstream.c | 4 ++-- gio/glocalfileoutputstream.c | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gio/ChangeLog b/gio/ChangeLog index 8f734816..76a873c2 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,3 +1,10 @@ +2009-03-17 Alexander Larsson + + * glocalfileinputstream.c: + * glocalfileoutputstream.c: + fix attributes argument of query_info methods to + be "const char *". + 2009-03-16 Alexander Larsson Bug 575555 – Use fsync() when replacing files to avoid data loss on crash diff --git a/gio/glocalfileinputstream.c b/gio/glocalfileinputstream.c index cedbc46f..a8d0104f 100644 --- a/gio/glocalfileinputstream.c +++ b/gio/glocalfileinputstream.c @@ -71,7 +71,7 @@ static gboolean g_local_file_input_stream_seek (GFileInputStream *strea GCancellable *cancellable, GError **error); static GFileInfo *g_local_file_input_stream_query_info (GFileInputStream *stream, - char *attributes, + const char *attributes, GCancellable *cancellable, GError **error); @@ -319,7 +319,7 @@ g_local_file_input_stream_seek (GFileInputStream *stream, static GFileInfo * g_local_file_input_stream_query_info (GFileInputStream *stream, - char *attributes, + const char *attributes, GCancellable *cancellable, GError **error) { diff --git a/gio/glocalfileoutputstream.c b/gio/glocalfileoutputstream.c index bd216dfb..7c73da48 100644 --- a/gio/glocalfileoutputstream.c +++ b/gio/glocalfileoutputstream.c @@ -82,7 +82,7 @@ static gboolean g_local_file_output_stream_close (GOutputStream *s GCancellable *cancellable, GError **error); static GFileInfo *g_local_file_output_stream_query_info (GFileOutputStream *stream, - char *attributes, + const char *attributes, GCancellable *cancellable, GError **error); static char * g_local_file_output_stream_get_etag (GFileOutputStream *stream); @@ -474,7 +474,7 @@ g_local_file_output_stream_truncate (GFileOutputStream *stream, static GFileInfo * g_local_file_output_stream_query_info (GFileOutputStream *stream, - char *attributes, + const char *attributes, GCancellable *cancellable, GError **error) { -- 2.34.1