diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-05-18 23:19:17 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-05-18 23:19:17 +0800 |
commit | 21d4e24e8d0624f5f6ec5be6acd45c6c02d30e44 (patch) | |
tree | 2ac9c9707a165e4e471c0e5ddb89d2cee677162f | |
parent | 6cbe46ff82e331bd8d7101980908928611b73b8f (diff) | |
download | gsoc2013-empathy-21d4e24e8d0624f5f6ec5be6acd45c6c02d30e44.tar gsoc2013-empathy-21d4e24e8d0624f5f6ec5be6acd45c6c02d30e44.tar.gz gsoc2013-empathy-21d4e24e8d0624f5f6ec5be6acd45c6c02d30e44.tar.bz2 gsoc2013-empathy-21d4e24e8d0624f5f6ec5be6acd45c6c02d30e44.tar.lz gsoc2013-empathy-21d4e24e8d0624f5f6ec5be6acd45c6c02d30e44.tar.xz gsoc2013-empathy-21d4e24e8d0624f5f6ec5be6acd45c6c02d30e44.tar.zst gsoc2013-empathy-21d4e24e8d0624f5f6ec5be6acd45c6c02d30e44.zip |
upgrade Python bindings
-rw-r--r-- | python/pyempathy/pyempathy.defs | 23 | ||||
-rw-r--r-- | python/pyempathygtk/pyempathygtk.defs | 13 |
2 files changed, 33 insertions, 3 deletions
diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs index 2f522eb07..f438882d9 100644 --- a/python/pyempathy/pyempathy.defs +++ b/python/pyempathy/pyempathy.defs @@ -599,6 +599,17 @@ ) ) +(define-method new_call_with_streams + (of-object "EmpathyCallFactory") + (c-name "empathy_call_factory_new_call_with_streams") + (return-type "none") + (parameters + '("EmpathyContact*" "contact") + '("gboolean" "initial_audio") + '("gboolean" "initial_video") + ) +) + (define-method claim_channel (of-object "EmpathyCallFactory") (c-name "empathy_call_factory_claim_channel") @@ -625,6 +636,16 @@ ) ) +(define-function call_handler_new_for_contact_with_streams + (c-name "empathy_call_handler_new_for_contact_with_streams") + (return-type "EmpathyCallHandler*") + (parameters + '("EmpathyContact*" "contact") + '("gboolean" "audio") + '("gboolean" "video") + ) +) + (define-function call_handler_new_for_channel (c-name "empathy_call_handler_new_for_channel") (return-type "EmpathyCallHandler*") @@ -2069,6 +2090,8 @@ (return-type "none") (parameters '("EmpathyContact*" "contact") + '("gboolean" "audio") + '("gboolean" "video") ) ) diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs index 816261d39..b0ce54ae3 100644 --- a/python/pyempathygtk/pyempathygtk.defs +++ b/python/pyempathygtk/pyempathygtk.defs @@ -181,7 +181,8 @@ '("is-active" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ACTIVE") '("is-online" "EMPATHY_CONTACT_LIST_STORE_COL_IS_ONLINE") '("is-separator" "EMPATHY_CONTACT_LIST_STORE_COL_IS_SEPARATOR") - '("can-voip" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_VOIP") + '("can-audio-call" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_AUDIO_CALL") + '("can-video-call" "EMPATHY_CONTACT_LIST_STORE_COL_CAN_VIDEO_CALL") '("count" "EMPATHY_CONTACT_LIST_STORE_COL_COUNT") ) ) @@ -1188,9 +1189,15 @@ (return-type "GtkWidget*") ) -(define-method call_menu_item_new +(define-method audio_call_menu_item_new (of-object "EmpathyContact") - (c-name "empathy_contact_call_menu_item_new") + (c-name "empathy_contact_audio_call_menu_item_new") + (return-type "GtkWidget*") +) + +(define-method video_call_menu_item_new + (of-object "EmpathyContact") + (c-name "empathy_contact_video_call_menu_item_new") (return-type "GtkWidget*") ) |