Bump glib requirement to 2.14
authorDavid Schleef <ds@schleef.org>
Sat, 28 Feb 2009 19:15:29 +0000 (11:15 -0800)
committerDavid Schleef <ds@schleef.org>
Sat, 28 Feb 2009 19:15:29 +0000 (11:15 -0800)
Also remove code conditional on < 2.14.

configure.ac
gst/gstutils.h

index 6728a3c..6d5e0ce 100644 (file)
@@ -472,7 +472,7 @@ LIBS="$save_libs"
 dnl *** checks for dependency libraries ***
 
 dnl GLib
-GLIB_REQ=2.12
+GLIB_REQ=2.14
 
 AG_GST_GLIB_CHECK([$GLIB_REQ])
 
index a9d891c..9a434bf 100644 (file)
@@ -92,14 +92,8 @@ GType gst_type_register_static_full (GType parent_type,
 /* Macros for defining classes.  Ideas taken from Bonobo, which took theirs
    from Nautilus and GOB. */
 
-/* FIXME: Use g_once_init_* unconditionally once we depend on glib 2.14 */
-#if GLIB_CHECK_VERSION (2, 14, 0)
 #define __gst_once_init_enter(val) (g_once_init_enter (val))
 #define __gst_once_init_leave(val,newval) (g_once_init_leave (val, newval))
-#else
-#define __gst_once_init_enter(val) (G_UNLIKELY (*(val) == 0))
-#define __gst_once_init_leave(val,newval) (*(val) = newval)
-#endif
 
 /**
  * GST_BOILERPLATE_FULL: