mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
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:
committed by
Alexander Larsson
parent
0b9f24c1e1
commit
f891d4e04e
@@ -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,
|
||||
|
Reference in New Issue
Block a user