structure/caps: Add gst_{structure,caps}_filter_and_map_in_place()
[platform/upstream/gstreamer.git] / gst / glib-compat-private.h
index 2b9a963..8f37de2 100644 (file)
@@ -3,9 +3,26 @@
  * Functions copied from glib 2.10
  *
  * Copyright 2005 David Schleef <ds@schleef.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
  */
 
-#include "gst_private.h" /* for g_warning */
+#ifndef __GLIB_COMPAT_PRIVATE_H__
+#define __GLIB_COMPAT_PRIVATE_H__
+
 #include <glib.h>
 
 G_BEGIN_DECLS
@@ -14,9 +31,6 @@ G_BEGIN_DECLS
 
 /* adaptations */
 
-/* FIXME: remove once we depend on GLib 2.10 */
-#if (!GLIB_CHECK_VERSION (2, 10, 0))
-#define g_intern_string(s) g_quark_to_string(g_quark_from_string(s))
-#endif
-
 G_END_DECLS
+
+#endif