summaryrefslogtreecommitdiff
path: root/gdk/gdkthreads.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-08-06 08:34:46 -0400
committerMatthias Clasen <mclasen@redhat.com>2012-08-06 08:34:46 -0400
commit6fe0fbd4e273f00394e50c3cd5cd78fbd5472dc7 (patch)
tree0b7e3d38c52c853f2ae8d8bed50d04148e2d7a86 /gdk/gdkthreads.h
parentd0d21a4f00fee2c931dc3217bd89518dfcf7fe2a (diff)
downloadgtk+-6fe0fbd4e273f00394e50c3cd5cd78fbd5472dc7.tar.gz
Leave GDK_THREADS_ENTER/LEAVE visible for now
Not defining these macros at all causes harsh build breakages. Better to leave them defined (but documented as deprecated) for now. Everybody will still get the deprecation warnings for the underlying gdk_threads_enter/leave. We can hide the macros again later on when the world has had some time to port off GDK threads.
Diffstat (limited to 'gdk/gdkthreads.h')
-rw-r--r--gdk/gdkthreads.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdk/gdkthreads.h b/gdk/gdkthreads.h
index 172e1b1657..49f15afa55 100644
--- a/gdk/gdkthreads.h
+++ b/gdk/gdkthreads.h
@@ -73,8 +73,6 @@ guint gdk_threads_add_timeout_seconds (guint interval,
gpointer data);
-#if !(GDK_VERSION_MIN_REQUIRED >= GDK_VERSION_3_6)
-
/**
* GDK_THREADS_ENTER:
*
@@ -100,8 +98,6 @@ guint gdk_threads_add_timeout_seconds (guint interval,
*/
#define GDK_THREADS_LEAVE() gdk_threads_leave()
-#endif
-
#undef GDK_THREADS_DEPRECATED
G_END_DECLS