After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 122448 - Make hooks around gdk_threads_enter/leave possible
Make hooks around gdk_threads_enter/leave possible
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: X11
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2003-09-16 14:31 UTC by Martin Kretzschmar
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (4.01 KB, patch)
2003-09-16 14:32 UTC, Martin Kretzschmar
none Details | Review

Description Martin Kretzschmar 2003-09-16 14:31:40 UTC
For integration of the openoffice.org mainloop with gtk+ it's necessary to
have a single locking scheme. Attached is a patch that makes it possible to
override/wrap the implementation of GDK_THREADS_ENTER/LEAVE.

This is an implementation of:
http://mail.gnome.org/archives/gtk-devel-list/2003-August/msg00171.html

It would also be nice if we could make the gdk_threads_mutex really private
/  surround its declaration with a DEPRECATED-guard.
Comment 1 Martin Kretzschmar 2003-09-16 14:32:49 UTC
Created attachment 19983 [details] [review]
Patch
Comment 2 Soren Sandmann Pedersen 2003-12-07 22:02:00 UTC
Latest version of patch is here:

http://mail.gnome.org/archives/gtk-devel-list/2003-December/msg00019.html
Comment 3 Michael Meeks 2003-12-08 17:47:54 UTC
Committed to HEAD.