summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gio/gfile.override42
1 files changed, 0 insertions, 42 deletions
diff --git a/gio/gfile.override b/gio/gfile.override
index fb78e6e..fb8d41c 100644
--- a/gio/gfile.override
+++ b/gio/gfile.override
@@ -869,49 +869,7 @@ _wrap_g_file_create_async(PyGObject *self, PyObject *args, PyObject *kwargs)
Py_INCREF(Py_None);
return Py_None;
}
-%%
-override g_file_create_async kwargs
-static PyObject *
-_wrap_g_file_create_async(PyGObject *self, PyObject *args, PyObject *kwargs)
-{
- static char *kwlist[] = { "callback", "flags", "io_priority",
- "cancellable", "user_data", NULL };
- GCancellable *cancellable;
- PyGObject *pycancellable = NULL;
- GFileCreateFlags flags = G_FILE_CREATE_NONE;
- PyObject *py_flags = NULL;
- int io_priority = G_PRIORITY_DEFAULT;
- PyGIONotify *notify;
-
- notify = g_slice_new0(PyGIONotify);
-
- if (!PyArg_ParseTupleAndKeywords(args, kwargs,
- "O|OiOO:File.create_async",
- kwlist,
- &notify->callback,
- &flags, &io_priority,
- &pycancellable,
- &notify->data))
-
- {
- g_slice_free(PyGIONotify, notify);
- return NULL;
- }
-
- if (py_flags && pyg_flags_get_value(G_TYPE_FILE_CREATE_FLAGS,
- py_flags, (gpointer)&flags))
- return NULL;
- if (!pygio_check_cancellable(pycancellable, &cancellable))
- return NULL;
-
- g_file_create_async(G_FILE(self->obj), flags, io_priority, cancellable,
- (GAsyncReadyCallback)async_result_callback_marshal,
- notify);
-
- Py_INCREF(Py_None);
- return Py_None;
-}
/* GFile.eject_mountable */
/* GFile.find_enclosing_mount_async */
/* GFile.query_info_async */