summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-10-02 22:17:04 +0300
committerSebastian Dröge <sebastian@centricular.com>2015-10-02 22:18:24 +0300
commit3e8ef4cf5a41e26836f0a5a8cb3ddaa5e55f1524 (patch)
treea2eace04d3060a708048a8ac231fdec38f031f91 /gst
parent215cfcf993389c7950d58d7a37d9bfb0058b7ea6 (diff)
Update GLib dependency to 2.40.0
Diffstat (limited to 'gst')
-rw-r--r--gst/gst.c4
-rw-r--r--gst/gsturi.c19
-rw-r--r--gst/gstvalue.c13
3 files changed, 0 insertions, 36 deletions
diff --git a/gst/gst.c b/gst/gst.c
index fcd966c768..e28dd92d01 100644
--- a/gst/gst.c
+++ b/gst/gst.c
@@ -475,10 +475,6 @@ init_pre (GOptionContext * context, GOptionGroup * group, gpointer data,
GST_DEBUG ("already initialized");
return TRUE;
}
-#if !GLIB_CHECK_VERSION(2, 35, 0)
- g_type_init ();
-#endif
-
#ifndef GST_DISABLE_GST_DEBUG
_priv_gst_debug_init ();
priv_gst_dump_dot_dir = g_getenv ("GST_DEBUG_DUMP_DOT_DIR");
diff --git a/gst/gsturi.c b/gst/gsturi.c
index 3efaae3418..8c0e0c6a5d 100644
--- a/gst/gsturi.c
+++ b/gst/gsturi.c
@@ -118,25 +118,6 @@ _gst_ascii_strcasestr (const gchar * s, const gchar * find)
}
#endif
-#if !GLIB_CHECK_VERSION (2, 33, 4)
-#define g_list_copy_deep gst_g_list_copy_deep
-static GList *
-gst_g_list_copy_deep (GList * list, GCopyFunc func, gpointer user_data)
-{
- list = g_list_copy (list);
-
- if (func != NULL) {
- GList *l;
-
- for (l = list; l != NULL; l = l->next) {
- l->data = func (l->data, user_data);
- }
- }
-
- return list;
-}
-#endif
-
GType
gst_uri_handler_get_type (void)
{
diff --git a/gst/gstvalue.c b/gst/gstvalue.c
index 37a59bff80..f876be0afd 100644
--- a/gst/gstvalue.c
+++ b/gst/gstvalue.c
@@ -6568,20 +6568,7 @@ FUNC_VALUE_GET_TYPE_CLASSED (flagset, "GstFlagSet",
GType
gst_g_thread_get_type (void)
{
-#if GLIB_CHECK_VERSION(2,35,3)
return G_TYPE_THREAD;
-#else
- static volatile gsize type_id = 0;
-
- if (g_once_init_enter (&type_id)) {
- GType tmp =
- g_boxed_type_register_static (g_intern_static_string ("GstGThread"),
- (GBoxedCopyFunc) g_thread_ref, (GBoxedFreeFunc) g_thread_unref);
- g_once_init_leave (&type_id, tmp);
- }
-
- return type_id;
-#endif
}
#define SERIAL_VTABLE(t,c,s,d) { t, c, s, d }