GTask: Remove unused function

We no longer resort the queue, so this function can go.

https://bugzilla.gnome.org/show_bug.cgi?id=751160
This commit is contained in:
Matthias Clasen 2015-06-18 10:37:46 -04:00
parent e419e1c4e2
commit 368c3f205f

View File

@ -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);
@ -1897,12 +1895,6 @@ g_task_thread_pool_init (void)
g_source_unref (task_pool_manager);
}
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,