summaryrefslogtreecommitdiff
path: root/gio/gasynchelper.c
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2009-06-16 20:21:29 -0400
committerDan Winship <danw@gnome.org>2009-06-30 19:05:44 -0400
commit28a39fab5ac720daf5927c85c3eba2e23f5ac38c (patch)
tree9a3a15b709aa600cac4aa8699d179e96818f122d /gio/gasynchelper.c
parent70e8eed6acfa33f74d7772f3ec54997daf102be4 (diff)
downloadglib-28a39fab5ac720daf5927c85c3eba2e23f5ac38c.tar.gz
Remove some unused code
Diffstat (limited to 'gio/gasynchelper.c')
-rw-r--r--gio/gasynchelper.c35
1 files changed, 0 insertions, 35 deletions
diff --git a/gio/gasynchelper.c b/gio/gasynchelper.c
index 61ef35a5a..6387bf922 100644
--- a/gio/gasynchelper.c
+++ b/gio/gasynchelper.c
@@ -36,41 +36,6 @@
*
**/
-static void
-async_result_free (gpointer data)
-{
- GAsyncResultData *res = data;
-
- if (res->error)
- g_error_free (res->error);
-
- g_object_unref (res->async_object);
-
- g_free (res);
-}
-
-void
-_g_queue_async_result (GAsyncResultData *result,
- gpointer async_object,
- GError *error,
- gpointer user_data,
- GSourceFunc source_func)
-{
- GSource *source;
-
- g_return_if_fail (G_IS_OBJECT (async_object));
-
- result->async_object = g_object_ref (async_object);
- result->user_data = user_data;
- result->error = error;
-
- source = g_idle_source_new ();
- g_source_set_priority (source, G_PRIORITY_DEFAULT);
- g_source_set_callback (source, source_func, result, async_result_free);
- g_source_attach (source, NULL);
- g_source_unref (source);
-}
-
/*************************************************************************
* fd source *
************************************************************************/