Bug 562613 – Missing const modifier in string parameters

2009-03-03  Alexander Larsson  <alexl@redhat.com>

	Bug 562613 – Missing const modifier in string parameters

        * gfileinputstream.[ch]:
        * gfileoutputstream.[ch]:
        * glocalfileinfo.[ch]:
	Make string arguments const if used as such.



svn path=/trunk/; revision=7952
This commit is contained in:
Alexander Larsson
2009-03-03 15:50:13 +00:00
committed by Alexander Larsson
parent 0b9f24c1e1
commit f891d4e04e
7 changed files with 29 additions and 20 deletions

View File

@@ -69,11 +69,11 @@ struct _GFileInputStreamClass
GCancellable *cancellable,
GError **error);
GFileInfo * (* query_info) (GFileInputStream *stream,
char *attributes,
const char *attributes,
GCancellable *cancellable,
GError **error);
void (* query_info_async) (GFileInputStream *stream,
char *attributes,
const char *attributes,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,
@@ -94,11 +94,11 @@ struct _GFileInputStreamClass
GType g_file_input_stream_get_type (void) G_GNUC_CONST;
GFileInfo *g_file_input_stream_query_info (GFileInputStream *stream,
char *attributes,
const char *attributes,
GCancellable *cancellable,
GError **error);
void g_file_input_stream_query_info_async (GFileInputStream *stream,
char *attributes,
const char *attributes,
int io_priority,
GCancellable *cancellable,
GAsyncReadyCallback callback,