GNOME Bugzilla – Bug 617542
Fix passing GDestroyNotify
Last modified: 2010-05-03 16:43:44 UTC
We were passing a pointer to the PyGICClosure instead.
Created attachment 160202 [details] [review] Fix passing GDestroyNotify
Review of attachment 160202 [details] [review]: ::: tests/test_everything.py @@ +156,3 @@ val = Everything.test_callback_user_data(callback, "Test%d" % i) for i in range(100): + self.assertEquals(val, i + 1) I'm not a huge fan of throwing in random code cleanups with other diffs. If you want to send a separate patch for these though (or just put it straight in, doesnt need review IMO) thats fine =P @@ +174,3 @@ + def testCallbackDestroyNotify(self): + Hm, I could swear there was a destroy notify test already in there. Might've gotten lost in all the commotion lately.
The following fix has been pushed: 3e61e7d Fix passing GDestroyNotify
Created attachment 160206 [details] [review] Fix passing GDestroyNotify