GTask: Remove unused function
authorMatthias Clasen <mclasen@redhat.com>
Thu, 18 Jun 2015 14:37:46 +0000 (10:37 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 29 Jun 2015 15:20:26 +0000 (08:20 -0700)
We no longer resort the queue, so this function can go.

https://bugzilla.gnome.org/show_bug.cgi?id=751160

gio/gtask.c

index c2569dc..1207846 100644 (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);
 
@@ -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,