2008-06-26 Edward Hervey <edward.hervey@collabora.co.uk>
+ * gst/common.h:
+ * gst/gstmodule.c:
+ * gst/interfaces.override:
+ * gst/pbutils.override:
+ * gst/pygstiterator.c:
+ * gst/pygstminiobject.c:
+ * gst/pygstminiobject.h:
+ Fix double-import issues on macosx.
+ Fixes #461838
+
+2008-06-26 Edward Hervey <edward.hervey@collabora.co.uk>
+
* gst/gstmodule.c: (pygstminiobject_from_gvalue):
Return None if GstMiniObject GValue doesn't contain anything (NULL).
Fixes #540221
#include <glib-object.h>
#include <gst/gst.h>
-#include "pygobject.h"
+#include <pygobject.h>
#include "pygstminiobject.h"
#if (defined HAVE_OLD_PYGTK && (PY_VERSION_HEX < 0x02030000))
#include "config.h"
#endif
-#include "pygstminiobject.h"
-#include "pygstexception.h"
-
-#include <locale.h>
-
/* include this first, before NO_IMPORT_PYGOBJECT is defined */
#include <pygobject.h>
#include <gst/gst.h>
#include <gst/gstversion.h>
+#include "common.h"
+#include "pygstexception.h"
+
+#include <locale.h>
+
void pygst_register_classes (PyObject *d);
void pygst_add_constants(PyObject *module, const gchar *strip_prefix);
# include <config.h>
#endif
+#define NO_IMPORT_PYGOBJECT
+
#include "common.h"
#include <gst/gst.h>
# include <config.h>
#endif
+#define NO_IMPORT_PYGOBJECT
#include "common.h"
#include <gst/gst.h>
*
* Author: Johan Dahlin <johan@gnome.org>
*/
+/* define this for all source files that don't run init_pygobject()
+ * before including pygobject.h */
+#define NO_IMPORT_PYGOBJECT
#include "common.h"
* USA
*/
+#define NO_IMPORT_PYGOBJECT
#include "pygstminiobject.h"
#include <gst/gst.h>
#ifndef _INSIDE_PYGSTMINIOBJECT_
-struct _PyGObject_Functions *_PyGObject_API;
extern PyTypeObject PyGstMiniObject_Type;