[rhythmbox] python: fix mistakes in bindings from the previous few commits
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] python: fix mistakes in bindings from the previous few commits
- Date: Tue, 3 Aug 2010 12:36:22 +0000 (UTC)
commit 3e75810d666aa3f50c7acd5565392c318d089afb
Author: Jonathan Matthew <jonathan d14n org>
Date: Tue Aug 3 22:36:04 2010 +1000
python: fix mistakes in bindings from the previous few commits
bindings/python/rhythmdb.defs | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/bindings/python/rhythmdb.defs b/bindings/python/rhythmdb.defs
index 2368d3a..47b0f8e 100644
--- a/bindings/python/rhythmdb.defs
+++ b/bindings/python/rhythmdb.defs
@@ -328,10 +328,10 @@
)
)
-(define-method get_pointer
+(define-method get_object_
(of-object "RhythmDBEntry")
- (c-name "rhythmdb_entry_get_pointer")
- (return-type "gpointer")
+ (c-name "rhythmdb_entry_get_object")
+ (return-type "GObject*")
(parameters
'("RhythmDBPropType" "propid")
)
@@ -373,6 +373,12 @@
)
)
+(define-method get_entry_type
+ (of-object "RhythmDBEntry")
+ (c-name "rhythmdb_entry_get_entry_type")
+ (return-type "RhythmDBEntryType*")
+)
+
(define-function rhythmdb_get_type
(c-name "rhythmdb_get_type")
(return-type "GType")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]