aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/pyempathy/pyempathy.defs8
-rw-r--r--python/pyempathygtk/pyempathygtk.defs17
2 files changed, 17 insertions, 8 deletions
diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs
index 46ed3ca38..efcc96483 100644
--- a/python/pyempathy/pyempathy.defs
+++ b/python/pyempathy/pyempathy.defs
@@ -2729,12 +2729,4 @@
(return-type "gboolean")
)
-(define-function start_call_with_contact
- (c-name "empathy_start_call_with_contact")
- (return-type "none")
- (parameters
- '("EmpathyContact*" "contact")
- )
-)
-
diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs
index fc168e113..35bc8c9f1 100644
--- a/python/pyempathygtk/pyempathygtk.defs
+++ b/python/pyempathygtk/pyempathygtk.defs
@@ -1799,4 +1799,21 @@
)
)
+(define-function sound_play_full
+ (c-name "empathy_sound_play_full")
+ (return-type "gboolean")
+ (parameters
+ '("GtkWidget*" "widget")
+ '("EmpathySound" "sound_id")
+ '("ca_finish_callback_t" "callback")
+ '("gpointer" "user_data")
+ )
+)
+
+(define-method stop
+ (of-object "EmpathySound")
+ (c-name "empathy_sound_stop")
+ (return-type "none")
+)
+