[empathy/mc5] Update python bindings
- From: Sjoerd Simons <sjoerds src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/mc5] Update python bindings
- Date: Sat, 22 Aug 2009 18:54:39 +0000 (UTC)
commit f454a43c73519864fde157ce1ba5e61139c98ee6
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date: Sat Aug 22 15:53:07 2009 +0100
Update python bindings
python/pyempathygtk/pyempathygtk.defs | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs
index dd906cd..82fe5da 100644
--- a/python/pyempathygtk/pyempathygtk.defs
+++ b/python/pyempathygtk/pyempathygtk.defs
@@ -340,12 +340,19 @@
(return-type "GType")
)
+(define-method get_widget
+ (of-object "EmpathyAccountWidget")
+ (c-name "empathy_account_widget_get_widget")
+ (return-type "GtkWidget*")
+)
+
(define-function account_widget_new_for_protocol
(c-name "empathy_account_widget_new_for_protocol")
- (return-type "GtkWidget*")
+ (return-type "EmpathyAccountWidget*")
(parameters
'("const-char*" "protocol")
'("EmpathyAccountSettings*" "settings")
+ '("gboolean" "simple")
)
)
@@ -359,6 +366,7 @@
(return-type "none")
(parameters
'("const-char*" "filename")
+ '("GtkWidget**" "table_common_settings")
)
)
@@ -372,6 +380,7 @@
(return-type "none")
(parameters
'("const-char*" "filename")
+ '("GtkWidget**" "table_common_settings")
)
)
@@ -1520,6 +1529,16 @@
)
)
+(define-method set_visible
+ (of-object "EmpathyProtocolChooser")
+ (c-name "empathy_protocol_chooser_set_visible")
+ (return-type "none")
+ (parameters
+ '("EmpathyProtocolChooserFilterFunc" "func")
+ '("gpointer" "user_data")
+ )
+)
+
;; From empathy-smiley-manager.h
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]