pygobject r754 - trunk/gio



Author: johan
Date: Sat Mar 22 20:10:38 2008
New Revision: 754
URL: http://svn.gnome.org/viewvc/pygobject?rev=754&view=rev

Log:
Fix the build

Modified:
   trunk/gio/ginputstream.override

Modified: trunk/gio/ginputstream.override
==============================================================================
--- trunk/gio/ginputstream.override	(original)
+++ trunk/gio/ginputstream.override	Sat Mar 22 20:10:38 2008
@@ -19,6 +19,8 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
  * USA
  */
+%%
+headers
 #define BUFSIZE 8192
 
 typedef struct {
@@ -28,12 +30,6 @@
 } PyGAsyncRequestNotifyRead;
 
 static void
-py_decref_callback (gpointer data)
-{
-    Py_DECREF((PyObject*)data);
-}
-
-static void
 async_result_callback_marshal_read(GObject *source_object, 
 				   GAsyncResult *result, 
 				   PyGAsyncRequestNotifyRead *notify)
@@ -159,10 +155,8 @@
   int io_priority = G_PRIORITY_DEFAULT;
   PyGObject *pycancellable;
   GCancellable *cancellable;
-
-
   PyGAsyncRequestNotifyRead *notify;
-  
+
   notify = g_slice_new0(PyGAsyncRequestNotifyRead);
 
   if (!PyArg_ParseTupleAndKeywords(args, kwargs,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]