From 368c3f205ff6447e140396cfac10db31de70f135 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 18 Jun 2015 10:37:46 -0400 Subject: [PATCH] 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 file changed, 8 deletions(-) diff --git a/gio/gtask.c b/gio/gtask.c index c2569dc55..120784650 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); @@ -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,