aboutsummaryrefslogtreecommitdiffstats
path: root/python/pyempathygtk/pyempathygtk.defs
diff options
context:
space:
mode:
Diffstat (limited to 'python/pyempathygtk/pyempathygtk.defs')
-rw-r--r--python/pyempathygtk/pyempathygtk.defs22
1 files changed, 22 insertions, 0 deletions
diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs
index 8fdb38abc..aa2fe4f27 100644
--- a/python/pyempathygtk/pyempathygtk.defs
+++ b/python/pyempathygtk/pyempathygtk.defs
@@ -388,6 +388,18 @@
)
)
+(define-method contains_pending_changes
+ (of-object "EmpathyAccountWidget")
+ (c-name "empathy_account_widget_contains_pending_changes")
+ (return-type "gboolean")
+)
+
+(define-method discard_pending_changes
+ (of-object "EmpathyAccountWidget")
+ (c-name "empathy_account_widget_discard_pending_changes")
+ (return-type "none")
+)
+
;; From empathy-account-widget-irc.h
@@ -1570,6 +1582,7 @@
(return-type "TpConnectionManager*")
(parameters
'("TpConnectionManagerProtocol**" "protocol")
+ '("gboolean*" "is_gtalk")
)
)
@@ -2083,4 +2096,13 @@
)
)
+(define-function make_absolute_url_len
+ (c-name "empathy_make_absolute_url_len")
+ (return-type "gchar*")
+ (parameters
+ '("const-gchar*" "url")
+ '("guint" "len")
+ )
+)
+