gvfs r2282 - in trunk: . client



Author: alexl
Date: Tue Mar  3 15:58:58 2009
New Revision: 2282
URL: http://svn.gnome.org/viewvc/gvfs?rev=2282&view=rev

Log:
2009-03-03  Alexander Larsson  <alexl redhat com>

        * client/gdaemonfileinputstream.c:
        * client/gdaemonfileoutputstream.c:
	Make argument const char * as per the glib change.



Modified:
   trunk/ChangeLog
   trunk/client/gdaemonfileinputstream.c
   trunk/client/gdaemonfileoutputstream.c

Modified: trunk/client/gdaemonfileinputstream.c
==============================================================================
--- trunk/client/gdaemonfileinputstream.c	(original)
+++ trunk/client/gdaemonfileinputstream.c	Tue Mar  3 15:58:58 2009
@@ -233,7 +233,7 @@
 								GCancellable         *cancellable,
 								GError              **error);
 static GFileInfo *g_daemon_file_input_stream_query_info        (GFileInputStream     *stream,
-								char                 *attributes,
+								const char           *attributes,
 								GCancellable         *cancellable,
 								GError              **error);
 static goffset    g_daemon_file_input_stream_tell              (GFileInputStream     *stream);
@@ -271,7 +271,7 @@
 								GAsyncResult         *result,
 								GError              **error);
 static void       g_daemon_file_input_stream_query_info_async  (GFileInputStream     *stream,
-								char                 *attributes,
+								const char           *attributes,
 								int                   io_priority,
 								GCancellable         *cancellable,
 								GAsyncReadyCallback   callback,
@@ -1591,7 +1591,7 @@
 
 static GFileInfo *
 g_daemon_file_input_stream_query_info (GFileInputStream     *stream,
-				       char                 *attributes,
+				       const char           *attributes,
 				       GCancellable         *cancellable,
 				       GError              **error)
 {
@@ -1606,7 +1606,7 @@
   memset (&op, 0, sizeof (op));
   op.state = QUERY_STATE_INIT;
   if (attributes)
-    op.attributes = attributes;
+    op.attributes = (char *)attributes;
   else
     op.attributes = "";
   
@@ -2074,7 +2074,7 @@
 
 static void
 g_daemon_file_input_stream_query_info_async  (GFileInputStream     *stream,
-					      char                 *attributes,
+					      const char           *attributes,
 					      int                   io_priority,
 					      GCancellable         *cancellable,
 					      GAsyncReadyCallback   callback,

Modified: trunk/client/gdaemonfileoutputstream.c
==============================================================================
--- trunk/client/gdaemonfileoutputstream.c	(original)
+++ trunk/client/gdaemonfileoutputstream.c	Tue Mar  3 15:58:58 2009
@@ -180,7 +180,7 @@
 								 GCancellable         *cancellable,
 								 GError              **error);
 static GFileInfo *g_daemon_file_output_stream_query_info        (GFileOutputStream    *stream,
-								 char                 *attributes,
+								 const char           *attributes,
 								 GCancellable         *cancellable,
 								 GError              **error);
 static char      *g_daemon_file_output_stream_get_etag          (GFileOutputStream    *stream);
@@ -210,7 +210,7 @@
 								 GAsyncResult         *result,
 								 GError              **error);
 static void       g_daemon_file_output_stream_query_info_async  (GFileOutputStream    *stream,
-								 char                 *attributes,
+								 const char           *attributes,
 								 int                   io_priority,
 								 GCancellable         *cancellable,
 								 GAsyncReadyCallback   callback,
@@ -1143,8 +1143,8 @@
 }
 
 static GFileInfo *
-g_daemon_file_output_stream_query_info (GFileOutputStream     *stream,
-					char                 *attributes,
+g_daemon_file_output_stream_query_info (GFileOutputStream    *stream,
+					const char           *attributes,
 					GCancellable         *cancellable,
 					GError              **error)
 {
@@ -1159,7 +1159,7 @@
   memset (&op, 0, sizeof (op));
   op.state = QUERY_STATE_INIT;
   if (attributes)
-    op.attributes = attributes;
+    op.attributes = (char *)attributes;
   else
     op.attributes = "";
   
@@ -1602,8 +1602,8 @@
 }
 
 static void
-g_daemon_file_output_stream_query_info_async  (GFileOutputStream     *stream,
-					       char                 *attributes,
+g_daemon_file_output_stream_query_info_async  (GFileOutputStream    *stream,
+					       const char           *attributes,
 					       int                   io_priority,
 					       GCancellable         *cancellable,
 					       GAsyncReadyCallback   callback,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]