aboutsummaryrefslogtreecommitdiff
path: root/gst/gsterror.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/gsterror.c')
-rw-r--r--gst/gsterror.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gst/gsterror.c b/gst/gsterror.c
index f3f2d22..17ec81f 100644
--- a/gst/gsterror.c
+++ b/gst/gsterror.c
@@ -122,22 +122,6 @@ GQuark gst_ ## string ## _error_quark (void) { \
quark = g_quark_from_static_string ("gst-" # string "-error-quark"); \
return quark; }
-/* FIXME: Deprecate when we depend on GLib 2.26 */
-GType
-gst_g_error_get_type (void)
-{
-#if GLIB_CHECK_VERSION(2,25,2)
- return g_error_get_type ();
-#else
- static GType type = 0;
-
- if (G_UNLIKELY (type == 0))
- type = g_boxed_type_register_static ("GstGError",
- (GBoxedCopyFunc) g_error_copy, (GBoxedFreeFunc) g_error_free);
- return type;
-#endif
-}
-
#define FILE_A_BUG " Please file a bug at " PACKAGE_BUGREPORT "."
static const gchar *