[rhythmbox] python: add null-ok to various search-related method parameters
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] python: add null-ok to various search-related method parameters
- Date: Sat, 27 Mar 2010 04:06:08 +0000 (UTC)
commit e94b0366308cb7c624705883da55ae2feff05af9
Author: Jonathan Matthew <jonathan d14n org>
Date: Sat Mar 27 14:02:22 2010 +1000
python: add null-ok to various search-related method parameters
This allows us to get rid of the custom override for
proxy_do_impl_search when pygobject is capable of generating the right
wrapper for us.
bindings/python/rb.defs | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/bindings/python/rb.defs b/bindings/python/rb.defs
index 911a1c7..1cd6f8d 100644
--- a/bindings/python/rb.defs
+++ b/bindings/python/rb.defs
@@ -978,8 +978,8 @@
(c-name "rb_source_search")
(return-type "none")
(parameters
- '("RBSourceSearch*" "search")
- '("const-char*" "cur_text")
+ '("RBSourceSearch*" "search" (null-ok))
+ '("const-char*" "cur_text" (null-ok))
'("const-char*" "new_text")
)
)
@@ -1209,8 +1209,8 @@
(of-object "RBSource")
(return-type "none")
(parameters
- '("RBSourceSearch*" "search")
- '("const-char*" "cur_text")
+ '("RBSourceSearch*" "search" (null-ok))
+ '("const-char*" "cur_text" (null-ok))
'("const-char*" "new_text")
)
)
@@ -2675,7 +2675,7 @@
(of-object "RBSourceSearch")
(return-type "gboolean")
(parameters
- '("const-char*" "cur_text")
+ '("const-char*" "cur_text" (null-ok))
'("const-char*" "new_text")
)
)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]