diff options
author | Tor Lillqvist <tml@iki.fi> | 2010-09-08 15:55:45 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2010-09-08 15:59:09 +0300 |
commit | 3963d5aa768b4e9e9f2c02888c24e9b2d850a2f9 (patch) | |
tree | 222a2fb1e57913f3a79bf3d9bf3a26423a3a130b /gdk/gdkglobals.c | |
parent | 319bc22c5c7f3a54d35da50af54b608b9759cddc (diff) | |
download | gtk+-3963d5aa768b4e9e9f2c02888c24e9b2d850a2f9.tar.gz |
Remove variables from the platform-independent GDK API
gdk_threads_mutex, gdk_threads_lock and gdk_threads_unlock are removed
from public API. gdk_threads_mutex was deprecated already. Instead of
using gdk_threads_lock and _unlock one was presumably supposed to use
the GDK_THREADS_ENTER and _LEAVE macros, which now simply call the
corresponding gdk_threads_enter() and _leave() functions.
Remove he dllimport/dllexport ugliness for GDK for Windows.
There is still a gdk_display variable being exported by the X11
backend.
Diffstat (limited to 'gdk/gdkglobals.c')
-rw-r--r-- | gdk/gdkglobals.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdk/gdkglobals.c b/gdk/gdkglobals.c index e92ad4892a..b9d86e137d 100644 --- a/gdk/gdkglobals.c +++ b/gdk/gdkglobals.c @@ -43,7 +43,3 @@ gboolean _gdk_native_windows = FALSE; gboolean _gdk_enable_multidevice = FALSE; GSList *_gdk_displays = NULL; - -GMutex *gdk_threads_mutex = NULL; /* Global GDK lock */ -GCallback gdk_threads_lock = NULL; -GCallback gdk_threads_unlock = NULL; |