[glib] GTask: Remove unused function
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GTask: Remove unused function
- Date: Mon, 29 Jun 2015 15:21:35 +0000 (UTC)
commit 368c3f205ff6447e140396cfac10db31de70f135
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jun 18 10:37:46 2015 -0400
GTask: Remove unused function
We no longer resort the queue, so this function can go.
https://bugzilla.gnome.org/show_bug.cgi?id=751160
gio/gtask.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/gio/gtask.c b/gio/gtask.c
index c2569dc..1207846 100644
--- a/gio/gtask.c
+++ b/gio/gtask.c
@@ -582,8 +582,6 @@ typedef enum
PROP_COMPLETED = 1,
} GTaskProperty;
-static void g_task_thread_pool_resort (void);
-
static void g_task_async_result_iface_init (GAsyncResultIface *iface);
static void g_task_thread_pool_init (void);
@@ -1898,12 +1896,6 @@ g_task_thread_pool_init (void)
}
static void
-g_task_thread_pool_resort (void)
-{
- g_thread_pool_set_sort_function (task_pool, g_task_compare_priority, NULL);
-}
-
-static void
g_task_get_property (GObject *object,
guint prop_id,
GValue *value,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]