gst/pygstminiobject.c: Move up variable declaration to the top of the function.

Original commit message from CVS:
* gst/pygstminiobject.c: (pygstminiobject_dealloc):
Move up variable declaration to the top of the function.
* win32/vs6/gst_python.dsw:
* win32/vs6/libgstpython.dsp:
* win32/vs6/pygenfiles.dsp:
* win32/MANIFEST
Add new project files to build with VS6.
This commit is contained in:
Sébastien Moutte 2007-10-08 22:04:18 +00:00
parent 705ffb4135
commit 547e7c455f
3 changed files with 13 additions and 3 deletions

View file

@ -1,3 +1,13 @@
2007-10-08 Sebastien Moutte <sebastien@moutte.net>
* gst/pygstminiobject.c: (pygstminiobject_dealloc):
Move up variable declaration to the top of the function.
* win32/vs6/gst_python.dsw:
* win32/vs6/libgstpython.dsp:
* win32/vs6/pygenfiles.dsp:
* win32/MANIFEST
Add new project files to build with VS6.
2007-09-11 Andy Wingo <wingo@pobox.com> 2007-09-11 Andy Wingo <wingo@pobox.com>
* gst/gstmodule.c (DL_EXPORT): Remove the atexit(gst_deinit). * gst/gstmodule.c (DL_EXPORT): Remove the atexit(gst_deinit).

2
common

@ -1 +1 @@
Subproject commit 76752780462a3c4da712d56d54c45402144b3d0f Subproject commit 34d7d649b972ea4915611a6ed88f01613bf32777

View file

@ -175,10 +175,10 @@ pygstminiobject_new (GstMiniObject *obj)
static void static void
pygstminiobject_dealloc(PyGstMiniObject *self) pygstminiobject_dealloc(PyGstMiniObject *self)
{ {
g_return_if_fail (self != NULL);
PyGILState_STATE state; PyGILState_STATE state;
g_return_if_fail (self != NULL);
GST_DEBUG ("At the beginning %p", self); GST_DEBUG ("At the beginning %p", self);
state = pyg_gil_state_ensure(); state = pyg_gil_state_ensure();