diff options
-rw-r--r-- | python/pyempathy/pyempathy.defs | 42 | ||||
-rw-r--r-- | python/pyempathygtk/pyempathygtk.defs | 17 |
2 files changed, 38 insertions, 21 deletions
diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs index 10f32f7e2..1a61b31b3 100644 --- a/python/pyempathy/pyempathy.defs +++ b/python/pyempathy/pyempathy.defs @@ -1577,11 +1577,12 @@ (define-method add_message (of-object "EmpathyLogManager") (c-name "empathy_log_manager_add_message") - (return-type "none") + (return-type "gboolean") (parameters '("const-gchar*" "chat_id") '("gboolean" "chatroom") '("EmpathyMessage*" "message") + '("GError**" "error") ) ) @@ -1607,15 +1608,6 @@ ) ) -(define-method get_messages_for_file - (of-object "EmpathyLogManager") - (c-name "empathy_log_manager_get_messages_for_file") - (return-type "GList*") - (parameters - '("const-gchar*" "filename") - ) -) - (define-method get_messages_for_date (of-object "EmpathyLogManager") (c-name "empathy_log_manager_get_messages_for_date") @@ -1639,15 +1631,6 @@ ) ) -(define-method get_messages_for_file - (of-object "EmpathyLogManager") - (c-name "empathy_log_manager_get_messages_for_file") - (return-type "GList*") - (parameters - '("const-gchar*" "filename") - ) -) - (define-method get_chats (of-object "EmpathyLogManager") (c-name "empathy_log_manager_get_chats") @@ -1682,6 +1665,23 @@ ) ) +(define-function log_manager_search_hit_free + (c-name "empathy_log_manager_search_hit_free") + (return-type "none") + (parameters + '("EmpathyLogSearchHit*" "hit") + ) +) + +(define-method observe + (of-object "EmpathyLogManager") + (c-name "empathy_log_manager_observe") + (return-type "none") + (parameters + '("EmpathyDispatcher*" "dispatcher") + ) +) + ;; From empathy-message.h @@ -2287,9 +2287,9 @@ (define-method get_state (of-object "EmpathyTpFile") (c-name "empathy_tp_file_get_state") - (return-type "guint") + (return-type "TpFileTransferState") (parameters - '("guint*" "reason") + '("TpFileTransferStateChangeReason*" "reason") ) ) diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs index c4cc1e29c..2c5515da8 100644 --- a/python/pyempathygtk/pyempathygtk.defs +++ b/python/pyempathygtk/pyempathygtk.defs @@ -1304,6 +1304,23 @@ (return-type "GstElement*") ) +(define-function audio_sink_set_volume + (c-name "empathy_audio_sink_set_volume") + (return-type "none") + (parameters + '("EmpathyGstAudioSink*" "sink") + '("gdouble" "volume") + ) +) + +(define-function audio_sink_get_volume + (c-name "empathy_audio_sink_get_volume") + (return-type "gdouble") + (parameters + '("EmpathyGstAudioSink*" "sink") + ) +) + ;; From empathy-audio-src.h |