From 547e7c455fc259d4af58df70796f7fd9dec9e0ea Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Moutte?= Date: Mon, 8 Oct 2007 22:04:18 +0000 Subject: [PATCH] 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. --- ChangeLog | 10 ++++++++++ common | 2 +- gst/pygstminiobject.c | 4 ++-- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index a7c8959..aa7241a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2007-10-08 Sebastien Moutte + + * 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 * gst/gstmodule.c (DL_EXPORT): Remove the atexit(gst_deinit). diff --git a/common b/common index 7675278..34d7d64 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 76752780462a3c4da712d56d54c45402144b3d0f +Subproject commit 34d7d649b972ea4915611a6ed88f01613bf32777 diff --git a/gst/pygstminiobject.c b/gst/pygstminiobject.c index 9dcc7f5..1f0ae2a 100644 --- a/gst/pygstminiobject.c +++ b/gst/pygstminiobject.c @@ -175,10 +175,10 @@ pygstminiobject_new (GstMiniObject *obj) static void pygstminiobject_dealloc(PyGstMiniObject *self) { - g_return_if_fail (self != NULL); - PyGILState_STATE state; + g_return_if_fail (self != NULL); + GST_DEBUG ("At the beginning %p", self); state = pyg_gil_state_ensure(); -- 2.7.4