aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
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