mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
docs: Move the GIOScheduler SECTION
Move it to a separate page, as there isn’t a `GIOScheduler` struct. Ensure that all its functions/methods/types are correctly marked as deprecated. Fix a few broken links about I/O priority which pointed to it. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3037
This commit is contained in:
@@ -110,6 +110,9 @@ typedef struct _GIOExtension GIOExtension;
|
||||
* GIOSchedulerJob:
|
||||
*
|
||||
* Opaque class for defining and scheduling IO jobs.
|
||||
*
|
||||
* Deprecated: 2.36: Use [struct@GLib.ThreadPool] or
|
||||
* [method@Gio.Task.run_in_thread]
|
||||
**/
|
||||
typedef struct _GIOSchedulerJob GIOSchedulerJob;
|
||||
typedef struct _GIOStreamAdapter GIOStreamAdapter;
|
||||
@@ -357,6 +360,8 @@ typedef void (* GFileMeasureProgressCallback) (gboolean reporting,
|
||||
*
|
||||
* Returns: %TRUE if this function should be called again to
|
||||
* complete the job, %FALSE if the job is complete (or cancelled)
|
||||
* Deprecated: 2.36: Use [struct@GLib.ThreadPool] or
|
||||
* [method@Gio.Task.run_in_thread]
|
||||
**/
|
||||
typedef gboolean (*GIOSchedulerJobFunc) (GIOSchedulerJob *job,
|
||||
GCancellable *cancellable,
|
||||
|
Reference in New Issue
Block a user