mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gio: fix a leftover GSimpleAsyncResult usage
And remove remaining unnecessary gsimpleasyncresult.h includes
This commit is contained in:
parent
e02fa68068
commit
a8eedd00a7
@ -24,7 +24,6 @@
|
||||
|
||||
#include "gconverterinputstream.h"
|
||||
#include "gpollableinputstream.h"
|
||||
#include "gsimpleasyncresult.h"
|
||||
#include "gcancellable.h"
|
||||
#include "gioenumtypes.h"
|
||||
#include "gioerror.h"
|
||||
|
@ -24,7 +24,6 @@
|
||||
|
||||
#include "gconverteroutputstream.h"
|
||||
#include "gpollableoutputstream.h"
|
||||
#include "gsimpleasyncresult.h"
|
||||
#include "gcancellable.h"
|
||||
#include "gioenumtypes.h"
|
||||
#include "gioerror.h"
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include "gioenumtypes.h"
|
||||
#include "ginitable.h"
|
||||
#include "gasyncresult.h"
|
||||
#include "gsimpleasyncresult.h"
|
||||
#include "gasyncinitable.h"
|
||||
#include "gdbusconnection.h"
|
||||
#include "gdbusutils.h"
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "gtlsdatabase.h"
|
||||
#include "gtlsfiledatabase.h"
|
||||
#include "gtlsserverconnection.h"
|
||||
#include "gsimpleasyncresult.h"
|
||||
|
||||
#include "giomodule.h"
|
||||
#include "giomodule-priv.h"
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "gioerror.h"
|
||||
#include "gioenums.h"
|
||||
#include "gasyncresult.h"
|
||||
#include "gsimpleasyncresult.h"
|
||||
#include "gtask.h"
|
||||
#include "glibintl.h"
|
||||
|
||||
|
||||
@ -406,10 +406,11 @@ acquire_or_release_async (GPermission *permission,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data)
|
||||
{
|
||||
g_simple_async_report_error_in_idle (G_OBJECT (permission),
|
||||
callback, user_data,
|
||||
G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
|
||||
"Can't acquire or release permission");
|
||||
g_task_report_new_error (permission,
|
||||
callback, user_data,
|
||||
NULL,
|
||||
G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED,
|
||||
"Can't acquire or release permission");
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "gcancellable.h"
|
||||
#include "giomodule.h"
|
||||
#include "giomodule-priv.h"
|
||||
#include "gsimpleasyncresult.h"
|
||||
|
||||
/**
|
||||
* SECTION:gproxyresolver
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "gnetworkingprivate.h"
|
||||
#include "gasyncresult.h"
|
||||
#include "ginetaddress.h"
|
||||
#include "gsimpleasyncresult.h"
|
||||
#include "gtask.h"
|
||||
#include "gsrvtarget.h"
|
||||
#include "gthreadedresolver.h"
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include <glib/gstdio.h>
|
||||
#include <glib/glib-unix.h>
|
||||
#include "gioerror.h"
|
||||
#include "gsimpleasyncresult.h"
|
||||
#include "gunixinputstream.h"
|
||||
#include "gcancellable.h"
|
||||
#include "gasynchelper.h"
|
||||
|
@ -39,7 +39,6 @@
|
||||
#include "gfile.h"
|
||||
#include "gvolumemonitor.h"
|
||||
#include "gthemedicon.h"
|
||||
#include "gsimpleasyncresult.h"
|
||||
#include "gioerror.h"
|
||||
#include "glibintl.h"
|
||||
/* for BUFSIZ */
|
||||
|
@ -33,7 +33,6 @@
|
||||
#include "gioerror.h"
|
||||
#include "gunixoutputstream.h"
|
||||
#include "gcancellable.h"
|
||||
#include "gsimpleasyncresult.h"
|
||||
#include "gasynchelper.h"
|
||||
#include "gfiledescriptorbased.h"
|
||||
#include "glibintl.h"
|
||||
|
@ -27,7 +27,6 @@
|
||||
|
||||
#include <glib.h>
|
||||
#include "gioerror.h"
|
||||
#include "gsimpleasyncresult.h"
|
||||
#include "gwin32inputstream.h"
|
||||
#include "giowin32-priv.h"
|
||||
#include "gcancellable.h"
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include "gmountprivate.h"
|
||||
#include "gvolumemonitor.h"
|
||||
#include "gthemedicon.h"
|
||||
#include "gsimpleasyncresult.h"
|
||||
#include "glibintl.h"
|
||||
|
||||
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "gwin32outputstream.h"
|
||||
#include "giowin32-priv.h"
|
||||
#include "gcancellable.h"
|
||||
#include "gsimpleasyncresult.h"
|
||||
#include "gasynchelper.h"
|
||||
#include "glibintl.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user