From b2c1364ab29f82d863990c9b1b17abce798f9a84 Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Mon, 19 Sep 2011 00:30:30 -0400 Subject: [PATCH] g_system_thread_create: drop unused args The 'bound' and 'priority' arguments are no longer in use, so drop them. --- glib/gthread-posix.c | 2 -- glib/gthread-win32.c | 2 -- glib/gthread.c | 2 +- glib/gthreadprivate.h | 2 -- 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/glib/gthread-posix.c b/glib/gthread-posix.c index e8a4b84..b23a19a 100644 --- a/glib/gthread-posix.c +++ b/glib/gthread-posix.c @@ -497,8 +497,6 @@ g_system_thread_create (GThreadFunc thread_func, gpointer arg, gulong stack_size, gboolean joinable, - gboolean bound, - GThreadPriority priority, gpointer thread, GError **error) { diff --git a/glib/gthread-win32.c b/glib/gthread-win32.c index 2ed1d92..e4636c4 100644 --- a/glib/gthread-win32.c +++ b/glib/gthread-win32.c @@ -411,8 +411,6 @@ g_system_thread_create (GThreadFunc func, gpointer data, gulong stack_size, gboolean joinable, - gboolean bound, - GThreadPriority priority, gpointer thread, GError **error) { diff --git a/glib/gthread.c b/glib/gthread.c index 6b79cd2..19dc08e 100644 --- a/glib/gthread.c +++ b/glib/gthread.c @@ -1729,7 +1729,7 @@ g_thread_create_full (GThreadFunc func, result->private_data = NULL; G_LOCK (g_thread); g_system_thread_create (g_thread_create_proxy, result, - stack_size, joinable, 0, 0, + stack_size, joinable, &result->system_thread, &local_error); if (!local_error) { diff --git a/glib/gthreadprivate.h b/glib/gthreadprivate.h index f4d7288..707e571 100644 --- a/glib/gthreadprivate.h +++ b/glib/gthreadprivate.h @@ -40,8 +40,6 @@ G_GNUC_INTERNAL void g_system_thread_create (GThreadFunc func, gpointer data, gulong stack_size, gboolean joinable, - gboolean bound, - GThreadPriority priority, gpointer thread, GError **error); G_GNUC_INTERNAL gboolean g_system_thread_equal (gpointer thread1, -- 2.7.4