aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-22 22:53:07 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-22 23:47:41 +0800
commitf454a43c73519864fde157ce1ba5e61139c98ee6 (patch)
treef343e775900e8841a4adbed76350d50a600c06c4 /python
parentd047670385b7dcc65ccdb89969f0e43deea7c93e (diff)
downloadgsoc2013-empathy-f454a43c73519864fde157ce1ba5e61139c98ee6.tar
gsoc2013-empathy-f454a43c73519864fde157ce1ba5e61139c98ee6.tar.gz
gsoc2013-empathy-f454a43c73519864fde157ce1ba5e61139c98ee6.tar.bz2
gsoc2013-empathy-f454a43c73519864fde157ce1ba5e61139c98ee6.tar.lz
gsoc2013-empathy-f454a43c73519864fde157ce1ba5e61139c98ee6.tar.xz
gsoc2013-empathy-f454a43c73519864fde157ce1ba5e61139c98ee6.tar.zst
gsoc2013-empathy-f454a43c73519864fde157ce1ba5e61139c98ee6.zip
Update python bindings
Diffstat (limited to 'python')
-rw-r--r--python/pyempathygtk/pyempathygtk.defs21
1 files changed, 20 insertions, 1 deletions
diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs
index dd906cddd..82fe5daca 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