Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
windows:mingw:win32
mingw32-libgnome
libgnome-2.32.0-gthread.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libgnome-2.32.0-gthread.patch of Package mingw32-libgnome
diff -urEbwB libgnome-2.32.0/libgnome/gnome-i18n.c libgnome-2.32.0/libgnome/gnome-i18n.c --- libgnome-2.32.0/libgnome/gnome-i18n.c 2013-04-02 11:54:45.722328910 +0200 +++ libgnome-2.32.0/libgnome/gnome-i18n.c 2013-04-02 12:04:19.132583297 +0200 @@ -55,12 +55,12 @@ const GList * gnome_i18n_get_language_list (const gchar *ignored) { - static GStaticRecMutex lang_list_lock = G_STATIC_REC_MUTEX_INIT; + static GRecMutex lang_list_lock; static GList *list = NULL; const char * const* langs; int i; - g_static_rec_mutex_lock (&lang_list_lock); + g_rec_mutex_lock (&lang_list_lock); if (list == NULL) { langs = g_get_language_names (); @@ -71,7 +71,7 @@ list = g_list_reverse (list); } - g_static_rec_mutex_unlock (&lang_list_lock); + g_rec_mutex_unlock (&lang_list_lock); return list; } diff -urEbwB libgnome-2.32.0/libgnome/gnome-init.c libgnome-2.32.0/libgnome/gnome-init.c --- libgnome-2.32.0/libgnome/gnome-init.c 2013-04-02 11:54:45.721328934 +0200 +++ libgnome-2.32.0/libgnome/gnome-init.c 2013-04-02 12:04:19.132583297 +0200 @@ -115,9 +115,6 @@ static void bonobo_activation_pre_args_parse (GnomeProgram *program, GnomeModuleInfo *mod_info) { - if (!g_thread_supported ()) - g_thread_init (NULL); - if (!bonobo_activation_is_initialized ()) bonobo_activation_preinit (program, mod_info); } diff -urEbwB libgnome-2.32.0/libgnome/gnome-program.c libgnome-2.32.0/libgnome/gnome-program.c --- libgnome-2.32.0/libgnome/gnome-program.c 2013-04-02 11:54:45.722328910 +0200 +++ libgnome-2.32.0/libgnome/gnome-program.c 2013-04-02 12:04:19.134583249 +0200 @@ -1878,10 +1878,6 @@ GnomeProgram *program; va_list args; - /* g_thread_init() has to be the first GLib function called ever */ - if (!g_threads_got_initialized) - g_thread_init (NULL); - g_type_init (); va_start(args, first_property_name);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor