[tracker] thunderbird: Fix parameters types in bindings.js
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] thunderbird: Fix parameters types in bindings.js
- Date: Thu, 4 Aug 2011 17:10:00 +0000 (UTC)
commit 14e985d3b697d0266417bc80c3e7b3ac23957f80
Author: Adrien Bustany <adrien bustany nokia com>
Date: Thu Aug 4 18:33:25 2011 +0300
thunderbird: Fix parameters types in bindings.js
Use ctypes.voidptr_t instead of ctypes.void_t.ptr, and use GObject where
possible.
src/plugins/thunderbird/chrome/content/bindings.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/thunderbird/chrome/content/bindings.js b/src/plugins/thunderbird/chrome/content/bindings.js
index e2534c3..86b18ed 100644
--- a/src/plugins/thunderbird/chrome/content/bindings.js
+++ b/src/plugins/thunderbird/chrome/content/bindings.js
@@ -51,14 +51,14 @@ org.bustany.TrackerBird.TrackerSparql = {
"g_free",
ctypes.default_abi,
ctypes.void_t,
- ctypes.void_t.ptr
+ ctypes.voidptr_t
);
tracker.object_unref = tracker._lib.declare (
"g_object_unref",
ctypes.default_abi,
ctypes.void_t,
- ctypes.void_t.ptr // Binding GObject* as a void* since we don't have GObject binding...
+ tracker.Object.ptr
);
tracker.error_free = tracker._lib.declare (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]