gst/pbutils.override: Fix compilation against Python 2.4.

Original commit message from CVS:
* gst/pbutils.override:
Fix compilation against Python 2.4.
Fixes: #509522
This commit is contained in:
Jan Schmidt 2008-01-15 11:41:51 +00:00
parent 5a482f9292
commit 9d3bfa8fdf
3 changed files with 12 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2008-01-15 Jan Schmidt <jan.schmidt@sun.com>
* gst/pbutils.override:
Fix compilation against Python 2.4.
Fixes: #509522
2008-01-14 Edward Hervey <edward.hervey@collabora.co.uk>
* configure.ac:

2
common

@ -1 +1 @@
Subproject commit 36e8d05157d6c831e0d3919ae2ee9c342498eda8
Subproject commit 0efbab89d333b5d07cc7da1a501c38edf5bb4f72

View file

@ -33,6 +33,11 @@ headers
GST_DEBUG_CATEGORY_EXTERN (pygst_debug);
#define GST_CAT_DEFAULT pygst_debug
/* Boonky define that allows for backwards compatibility with Python 2.4 */
#if PY_VERSION_HEX < 0x02050000
#define Py_ssize_t int
#endif
#ifdef HAVE_PLUGINS_INSTALL
static void
install_plugins_result_handler(GstInstallPluginsReturn result, gpointer user_data)