[monkey-bubble: 151/753] Don't initialize threads here; this has already been done by libgnomebase.
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 151/753] Don't initialize threads here; this has already been done by libgnomebase.
- Date: Wed, 14 Jul 2010 22:08:22 +0000 (UTC)
commit b44ff753660b5db66dea448b74111b109176392f
Author: Martin Baulig <baulig suse de>
Date: Sun Apr 15 17:59:03 2001 +0000
Don't initialize threads here; this has already been done by libgnomebase.
2001-04-15 Martin Baulig <baulig suse de>
* libgnome-init.c (libgnome_loadinit): Don't initialize threads here;
this has already been done by libgnomebase.
libgnome/ChangeLog | 5 +++++
libgnome/gnome-init.c | 10 +---------
2 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/libgnome/ChangeLog b/libgnome/ChangeLog
index c95af4e..c15a273 100644
--- a/libgnome/ChangeLog
+++ b/libgnome/ChangeLog
@@ -1,5 +1,10 @@
2001-04-15 Martin Baulig <baulig suse de>
+ * libgnome-init.c (libgnome_loadinit): Don't initialize threads here;
+ this has already been done by libgnomebase.
+
+2001-04-15 Martin Baulig <baulig suse de>
+
* libgnome-init.c (gnome_program_get_gconf_client): Moved this function
here; it was previously in gnome-program.c, but gnome-program.c is now
in libgnomebase and thus cannot use gconf anymore.
diff --git a/libgnome/gnome-init.c b/libgnome/gnome-init.c
index deda01d..8c677ec 100644
--- a/libgnome/gnome-init.c
+++ b/libgnome/gnome-init.c
@@ -281,7 +281,6 @@ GnomeModuleInfo gnome_gconf_module_info = {
char *gnome_user_dir = NULL, *gnome_user_private_dir = NULL, *gnome_user_accels_dir = NULL;
static void libgnome_post_args_parse(GnomeProgram *app, GnomeModuleInfo *mod_info);
-static void libgnome_loadinit(const GnomeModuleInfo *mod_info);
static void libgnome_option_cb(poptContext ctx, enum poptCallbackReason reason,
const struct poptOption *opt, const char *arg,
void *data);
@@ -319,7 +318,7 @@ GnomeModuleInfo libgnome_module_info = {
libgnome_requirements,
NULL, libgnome_post_args_parse,
gnomelib_options,
- libgnome_loadinit
+ NULL, NULL, NULL, NULL
};
static void
@@ -345,13 +344,6 @@ libgnome_post_args_parse (GnomeProgram *program,
}
static void
-libgnome_loadinit (const GnomeModuleInfo *mod_info)
-{
- /* Initialize threads. */
- g_thread_init (NULL);
-}
-
-static void
libgnome_option_cb (poptContext ctx, enum poptCallbackReason reason,
const struct poptOption *opt, const char *arg,
void *data)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]