aboutsummaryrefslogtreecommitdiffstats
path: root/python/pyempathygtk
diff options
context:
space:
mode:
Diffstat (limited to 'python/pyempathygtk')
-rw-r--r--python/pyempathygtk/pyempathygtk.defs34
1 files changed, 25 insertions, 9 deletions
diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs
index a0ae4eaf3..fd3ca2015 100644
--- a/python/pyempathygtk/pyempathygtk.defs
+++ b/python/pyempathygtk/pyempathygtk.defs
@@ -313,6 +313,18 @@
(return-type "const-gchar*")
)
+(define-method get_remote_contact
+ (of-object "EmpathyChat")
+ (c-name "empathy_chat_get_remote_contact")
+ (return-type "EmpathyContact*")
+)
+
+(define-method get_members_count
+ (of-object "EmpathyChat")
+ (c-name "empathy_chat_get_members_count")
+ (return-type "guint")
+)
+
(define-method clear
(of-object "EmpathyChat")
(c-name "empathy_chat_clear")
@@ -708,15 +720,6 @@
)
)
-(define-function empathy_account_widget_sip_new
- (c-name "empathy_account_widget_sip_new")
- (is-constructor-of "EmpathyAccountWidgetSip")
- (return-type "GtkWidget*")
- (parameters
- '("McAccount*" "account")
- )
-)
-
(define-function empathy_account_widget_groupwise_new
(c-name "empathy_account_widget_groupwise_new")
(is-constructor-of "EmpathyAccountWidgetGroupwise")
@@ -956,6 +959,19 @@
+;; From empathy-account-widget-sip.h
+
+(define-function empathy_account_widget_sip_new
+ (c-name "empathy_account_widget_sip_new")
+ (is-constructor-of "EmpathyAccountWidgetSip")
+ (return-type "GtkWidget*")
+ (parameters
+ '("McAccount*" "account")
+ )
+)
+
+
+
;; From empathy-contact-dialogs.h
(define-function empathy_subscription_dialog_show