mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-11 03:34:05 +02:00
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:
@@ -582,8 +582,6 @@ typedef enum
|
|||||||
PROP_COMPLETED = 1,
|
PROP_COMPLETED = 1,
|
||||||
} GTaskProperty;
|
} GTaskProperty;
|
||||||
|
|
||||||
static void g_task_thread_pool_resort (void);
|
|
||||||
|
|
||||||
static void g_task_async_result_iface_init (GAsyncResultIface *iface);
|
static void g_task_async_result_iface_init (GAsyncResultIface *iface);
|
||||||
static void g_task_thread_pool_init (void);
|
static void g_task_thread_pool_init (void);
|
||||||
|
|
||||||
@@ -1897,12 +1895,6 @@ g_task_thread_pool_init (void)
|
|||||||
g_source_unref (task_pool_manager);
|
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
|
static void
|
||||||
g_task_get_property (GObject *object,
|
g_task_get_property (GObject *object,
|
||||||
guint prop_id,
|
guint prop_id,
|
||||||
|
Reference in New Issue
Block a user