summaryrefslogtreecommitdiff
path: root/gmain.c
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>2001-05-08 08:23:18 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>2001-05-08 08:23:18 +0000
commitcd00d6e2cc2b8ce90a44e838750faeacb6f779fc (patch)
treeb1c0f3f91de278db1484928ab5cd879f5049646a /gmain.c
parent4d7747a58e5f5fa8f494b2b78d6f2047022375f1 (diff)
downloadglib-cd00d6e2cc2b8ce90a44e838750faeacb6f779fc.tar.gz
Moved func and arg members from GRealThread to GThread, such that they can
2001-05-08 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gmain.c, gthread.c, gthread.h: Moved func and arg members from GRealThread to GThread, such that they can be accessed by the user. * gthread.c, gthread.h: Due to popular demand (Tim being the populus here ;-) threads now have a 'return value', which is returned by g_thread_join and is either the return of the topmost thread function or the value given to g_thread_exit. * gthreadpool.c, tests/mainloop-test.c, tests/thread-test.c: Adapted to the above change.
Diffstat (limited to 'gmain.c')
-rw-r--r--gmain.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gmain.c b/gmain.c
index 1fa20fe59..10905a223 100644
--- a/gmain.c
+++ b/gmain.c
@@ -544,9 +544,6 @@ typedef struct _GRealThread GRealThread;
struct _GRealThread
{
GThread thread;
- GThreadFunc func;
- gpointer arg;
- gpointer private_data;
GMainContext *context;
};