aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/pyempathy/pyempathy.defs41
-rw-r--r--python/pyempathy/pyempathy.override2
-rw-r--r--python/pyempathygtk/pyempathygtk.defs5
3 files changed, 48 insertions, 0 deletions
diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs
index 1cf0b69dd..f8b552c20 100644
--- a/python/pyempathy/pyempathy.defs
+++ b/python/pyempathy/pyempathy.defs
@@ -244,6 +244,15 @@
(return-type "int")
)
+(define-method is_account_just_connected
+ (of-object "EmpathyAccountManager")
+ (c-name "empathy_account_manager_is_account_just_connected")
+ (return-type "gboolean")
+ (parameters
+ '("McAccount*" "account")
+ )
+)
+
;; From empathy-chatroom.h
@@ -892,6 +901,12 @@
)
)
+(define-method get_monitor
+ (of-object "EmpathyContactList")
+ (c-name "empathy_contact_list_get_monitor")
+ (return-type "EmpathyContactMonitor*")
+)
+
;; From empathy-contact-manager.h
@@ -916,6 +931,15 @@
)
)
+(define-method can_add
+ (of-object "EmpathyContactManager")
+ (c-name "empathy_contact_manager_can_add")
+ (return-type "gboolean")
+ (parameters
+ '("McAccount*" "account")
+ )
+)
+
;; From empathy-debug.h
@@ -1916,6 +1940,12 @@
(return-type "McAccount*")
)
+(define-method can_add
+ (of-object "EmpathyTpContactList")
+ (c-name "empathy_tp_contact_list_can_add")
+ (return-type "gboolean")
+)
+
;; From empathy-tp-file.h
@@ -2153,6 +2183,12 @@
(return-type "none")
)
+(define-method get_flags
+ (of-object "EmpathyTpGroup")
+ (c-name "empathy_tp_group_get_flags")
+ (return-type "TpChannelGroupFlags")
+)
+
;; From empathy-tp-roomlist.h
@@ -2280,6 +2316,11 @@
;; From empathy-utils.h
+(define-function init
+ (c-name "empathy_init")
+ (return-type "none")
+)
+
(define-function substring
(c-name "empathy_substring")
(return-type "gchar*")
diff --git a/python/pyempathy/pyempathy.override b/python/pyempathy/pyempathy.override
index 32b1e3e76..c90e69b7d 100644
--- a/python/pyempathy/pyempathy.override
+++ b/python/pyempathy/pyempathy.override
@@ -2,6 +2,7 @@
headers
#include <Python.h>
#include <pygobject.h>
+#include "empathy-account-manager.h"
#include "empathy-chatroom.h"
#include "empathy-chatroom-manager.h"
#include "empathy-contact.h"
@@ -9,6 +10,7 @@ headers
#include "empathy-contact-groups.h"
#include "empathy-contact-list.h"
#include "empathy-contact-manager.h"
+#include "empathy-contact-monitor.h"
#include "empathy-debug.h"
#include "empathy-dispatcher.h"
#include "empathy-enum-types.h"
diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs
index 18941abae..90bfa0c2f 100644
--- a/python/pyempathygtk/pyempathygtk.defs
+++ b/python/pyempathygtk/pyempathygtk.defs
@@ -1504,6 +1504,11 @@
;; From empathy-ui-utils.h
+(define-function gtk_init
+ (c-name "empathy_gtk_init")
+ (return-type "none")
+)
+
(define-function glade_get_file_simple
(c-name "empathy_glade_get_file_simple")
(return-type "none")