gst/pygstminiobject.c: Move up variable declaration to the top of the function.
authorSébastien Moutte <sebastien@moutte.net>
Mon, 8 Oct 2007 22:04:18 +0000 (22:04 +0000)
committerSébastien Moutte <sebastien@moutte.net>
Mon, 8 Oct 2007 22:04:18 +0000 (22:04 +0000)
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
common
gst/pygstminiobject.c

index a7c8959..aa7241a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * gst/gstmodule.c (DL_EXPORT): Remove the atexit(gst_deinit).
diff --git a/common b/common
index 7675278..34d7d64 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 76752780462a3c4da712d56d54c45402144b3d0f
+Subproject commit 34d7d649b972ea4915611a6ed88f01613bf32777
index 9dcc7f5..1f0ae2a 100644 (file)
@@ -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();