Remove mention of non-existing calls from docs
[platform/upstream/glib.git] / gio / gfileinputstream.c
index d68b684..502584b 100644 (file)
@@ -26,6 +26,9 @@
 #include <gfileinputstream.h>
 #include <gseekable.h>
 #include "gsimpleasyncresult.h"
+#include "gcancellable.h"
+#include "gasyncresult.h"
+#include "gioerror.h"
 #include "glibintl.h"
 
 #include "gioalias.h"
  *
  * GFileInputStream implements #GSeekable, which allows the input 
  * stream to jump to arbitrary positions in the file, provided the 
- * filesystem of the file allows it. In addition to the generic 
- * g_seekable_ API, GFileInputStream has its own API for seeking 
- * and positioning. To find the position of a file input stream, 
- * use g_file_input_stream_tell(). To find out if a file input 
- * stream supports seeking, use g_file_input_stream_can_seek().
- * To position a file input stream, use g_file_input_stream_seek().
+ * filesystem of the file allows it. To find the position of a file
+ * input stream, use g_seekable_tell(). To find out if a file input
+ * stream supports seeking, use g_seekable_stream_can_seek().
+ * To position a file input stream, use g_seekable_seek().
  **/
 
 static void       g_file_input_stream_seekable_iface_init    (GSeekableIface       *iface);
@@ -63,7 +64,7 @@ static gboolean   g_file_input_stream_seekable_truncate      (GSeekable
                                                              GCancellable         *cancellable,
                                                              GError              **error);
 static void       g_file_input_stream_real_query_info_async  (GFileInputStream     *stream,
-                                                             char                 *attributes,
+                                                             const char           *attributes,
                                                              int                   io_priority,
                                                              GCancellable         *cancellable,
                                                              GAsyncReadyCallback   callback,
@@ -126,7 +127,7 @@ g_file_input_stream_init (GFileInputStream *stream)
  **/
 GFileInfo *
 g_file_input_stream_query_info (GFileInputStream  *stream,
-                                char              *attributes,
+                                const char        *attributes,
                                 GCancellable      *cancellable,
                                 GError           **error)
 {
@@ -199,7 +200,7 @@ async_ready_callback_wrapper (GObject      *source_object,
  **/
 void
 g_file_input_stream_query_info_async (GFileInputStream    *stream,
-                                      char                *attributes,
+                                      const char          *attributes,
                                       int                  io_priority,
                                       GCancellable        *cancellable,
                                       GAsyncReadyCallback  callback,
@@ -431,7 +432,7 @@ query_info_async_thread (GSimpleAsyncResult *res,
 
 static void
 g_file_input_stream_real_query_info_async (GFileInputStream    *stream,
-                                           char                *attributes,
+                                           const char          *attributes,
                                            int                  io_priority,
                                            GCancellable        *cancellable,
                                            GAsyncReadyCallback  callback,