[rhythmbox] python: add bindings for rb_shell_get_source_by_entry_type
- From: Jonathan Matthew <jmatthew src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rhythmbox] python: add bindings for rb_shell_get_source_by_entry_type
- Date: Tue, 15 Dec 2009 11:48:45 +0000 (UTC)
commit 53f7407546137c047c468ebc2d32f8b4cf8febe3
Author: Jonathan Matthew <jonathan d14n org>
Date: Tue Dec 15 21:48:06 2009 +1000
python: add bindings for rb_shell_get_source_by_entry_type
bindings/python/rb.defs | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/bindings/python/rb.defs b/bindings/python/rb.defs
index 507f816..d2f3c2b 100644
--- a/bindings/python/rb.defs
+++ b/bindings/python/rb.defs
@@ -479,6 +479,15 @@
)
)
+(define-method get_source_by_entry_type
+ (of-object "RBShell")
+ (c-name "rb_shell_get_source_by_entry_type")
+ (return-type "RBSource*")
+ (parameters
+ '("RhythmDBEntryType_*" "type")
+ )
+)
+
;; From ../../shell/rb-shell-player.h
(define-function rb_shell_player_error_quark
@@ -2174,7 +2183,7 @@
'("RBShell*" "shell")
'("const-char*" "name")
'("gboolean" "local")
- '("RhythmDBEntryType" "entry_type")
+ '("RhythmDBEntryType_*" "entry_type")
)
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]