]> git.0d.be Git - empathy.git/commitdiff
Update python binding and add a script to make it more automatic
authorXavier Claessens <xclaesse@src.gnome.org>
Sun, 16 Mar 2008 12:48:27 +0000 (12:48 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Sun, 16 Mar 2008 12:48:27 +0000 (12:48 +0000)
svn path=/trunk/; revision=799

python/README [deleted file]
python/pyempathy/pyempathy.defs
python/pyempathygtk.patch [deleted file]
python/pyempathygtk/pyempathygtk.defs
python/pyempathygtk/pyempathygtk.override
python/update-binding.sh [new file with mode: 0755]

diff --git a/python/README b/python/README
deleted file mode 100644 (file)
index 9cae95c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-To update python binding:
-1)
-  $ make distclean
-  $ python /usr/share/pygtk/2.0/codegen/h2def.py libempathy/*.h > python/pyempathy/pyempathy.defs
-  $ python /usr/share/pygtk/2.0/codegen/h2def.py libempathy-gtk/*.h > python/pyempathygtk/pyempathygtk.defs
-
-2)
-Apply pyempathy.patch and pyempathygtk.patch
-
-3)
-Manually update headers in pyempathy.override and pyempathygtk.override.
index 3cdaafcd9cab1bca21bb6f7cc1de571b908960a8..d75155c4c92f6deb4f17c9c19db065c13bf97c0c 100644 (file)
 
 ;; Enumerations and flags ...
 
-(define-flags Capabilities
+(define-enum RegExType
   (in-module "Empathy")
-  (c-name "EmpathyCapabilities")
-  (gtype-id "EMPATHY_TYPE_CAPABILITIES")
+  (c-name "EmpathyRegExType")
+  (gtype-id "EMPATHY_TYPE_REG_EX_TYPE")
   (values
-    '("none" "EMPATHY_CAPABILITIES_NONE")
-    '("audio" "EMPATHY_CAPABILITIES_AUDIO")
-    '("video" "EMPATHY_CAPABILITIES_VIDEO")
-    '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
+    '("as-is" "EMPATHY_REGEX_AS_IS")
+    '("browser" "EMPATHY_REGEX_BROWSER")
+    '("email" "EMPATHY_REGEX_EMAIL")
+    '("other" "EMPATHY_REGEX_OTHER")
+    '("all" "EMPATHY_REGEX_ALL")
   )
 )
 
   )
 )
 
+(define-flags Capabilities
+  (in-module "Empathy")
+  (c-name "EmpathyCapabilities")
+  (gtype-id "EMPATHY_TYPE_CAPABILITIES")
+  (values
+    '("none" "EMPATHY_CAPABILITIES_NONE")
+    '("audio" "EMPATHY_CAPABILITIES_AUDIO")
+    '("video" "EMPATHY_CAPABILITIES_VIDEO")
+    '("unknown" "EMPATHY_CAPABILITIES_UNKNOWN")
+  )
+)
+
+(define-flags ContactReady
+  (in-module "Empathy")
+  (c-name "EmpathyContactReady")
+  (gtype-id "EMPATHY_TYPE_CONTACT_READY")
+  (values
+    '("none" "EMPATHY_CONTACT_READY_NONE")
+    '("id" "EMPATHY_CONTACT_READY_ID")
+    '("handle" "EMPATHY_CONTACT_READY_HANDLE")
+    '("name" "EMPATHY_CONTACT_READY_NAME")
+    '("all" "EMPATHY_CONTACT_READY_ALL")
+  )
+)
+
 (define-enum TpCallStatus
   (in-module "Empathy")
   (c-name "EmpathyTpCallStatus")
   )
 )
 
-(define-enum RegExType
-  (in-module "Empathy")
-  (c-name "EmpathyRegExType")
-  (gtype-id "EMPATHY_TYPE_REG_EX_TYPE")
-  (values
-    '("as-is" "EMPATHY_REGEX_AS_IS")
-    '("browser" "EMPATHY_REGEX_BROWSER")
-    '("email" "EMPATHY_REGEX_EMAIL")
-    '("other" "EMPATHY_REGEX_OTHER")
-    '("all" "EMPATHY_REGEX_ALL")
-  )
-)
-
 
 ;; From empathy-avatar.h
 
 
 
 
-;; From empathy-chandler.h
+;; From empathy-time.h
 
-(define-function empathy_chandler_get_type
-  (c-name "empathy_chandler_get_type")
-  (return-type "GType")
+(define-function empathy_time_get_current
+  (c-name "empathy_time_get_current")
+  (return-type "time_t")
 )
 
-(define-function empathy_chandler_new
-  (c-name "empathy_chandler_new")
-  (is-constructor-of "EmpathyChandler")
-  (return-type "EmpathyChandler*")
+(define-function empathy_time_get_local_time
+  (c-name "empathy_time_get_local_time")
+  (return-type "time_t")
   (parameters
-    '("const-gchar*" "bus_name")
-    '("const-gchar*" "object_path")
+    '("struct-tm*" "tm")
   )
 )
 
-
-
-;; From empathy-chatroom.h
-
-(define-function empathy_chatroom_get_type
-  (c-name "empathy_chatroom_get_type")
-  (return-type "GType")
+(define-function empathy_time_parse
+  (c-name "empathy_time_parse")
+  (return-type "time_t")
+  (parameters
+    '("const-gchar*" "str")
+  )
 )
 
-(define-function empathy_chatroom_new
-  (c-name "empathy_chatroom_new")
-  (is-constructor-of "EmpathyChatroom")
-  (return-type "EmpathyChatroom*")
+(define-function empathy_time_to_string_utc
+  (c-name "empathy_time_to_string_utc")
+  (return-type "gchar*")
   (parameters
-    '("McAccount*" "account")
-    '("const-gchar*" "room")
+    '("time_t" "t")
+    '("const-gchar*" "format")
   )
 )
 
-(define-function empathy_chatroom_new_full
-  (c-name "empathy_chatroom_new_full")
-  (return-type "EmpathyChatroom*")
+(define-function empathy_time_to_string_local
+  (c-name "empathy_time_to_string_local")
+  (return-type "gchar*")
   (parameters
-    '("McAccount*" "account")
-    '("const-gchar*" "room")
-    '("const-gchar*" "name")
-    '("gboolean" "auto_connect")
+    '("time_t" "t")
+    '("const-gchar*" "format")
   )
 )
 
-(define-method get_account
-  (of-object "EmpathyChatroom")
-  (c-name "empathy_chatroom_get_account")
-  (return-type "McAccount*")
-)
 
-(define-method set_account
-  (of-object "EmpathyChatroom")
-  (c-name "empathy_chatroom_set_account")
+
+;; From empathy-status-presets.h
+
+(define-function empathy_status_presets_get_all
+  (c-name "empathy_status_presets_get_all")
   (return-type "none")
+)
+
+(define-function empathy_status_presets_get
+  (c-name "empathy_status_presets_get")
+  (return-type "GList*")
   (parameters
-    '("McAccount*" "account")
+    '("McPresence" "state")
+    '("gint" "max_number")
   )
 )
 
-(define-method get_room
-  (of-object "EmpathyChatroom")
-  (c-name "empathy_chatroom_get_room")
-  (return-type "const-gchar*")
+(define-function empathy_status_presets_set_last
+  (c-name "empathy_status_presets_set_last")
+  (return-type "none")
+  (parameters
+    '("McPresence" "state")
+    '("const-gchar*" "status")
+  )
 )
 
-(define-method set_room
-  (of-object "EmpathyChatroom")
-  (c-name "empathy_chatroom_set_room")
+(define-function empathy_status_presets_remove
+  (c-name "empathy_status_presets_remove")
   (return-type "none")
   (parameters
-    '("const-gchar*" "room")
+    '("McPresence" "state")
+    '("const-gchar*" "status")
   )
 )
 
-(define-method get_name
-  (of-object "EmpathyChatroom")
-  (c-name "empathy_chatroom_get_name")
+(define-function empathy_status_presets_reset
+  (c-name "empathy_status_presets_reset")
+  (return-type "none")
+)
+
+(define-function empathy_status_presets_get_default_state
+  (c-name "empathy_status_presets_get_default_state")
+  (return-type "McPresence")
+)
+
+(define-function empathy_status_presets_get_default_status
+  (c-name "empathy_status_presets_get_default_status")
   (return-type "const-gchar*")
 )
 
-(define-method set_name
-  (of-object "EmpathyChatroom")
-  (c-name "empathy_chatroom_set_name")
+(define-function empathy_status_presets_set_default
+  (c-name "empathy_status_presets_set_default")
   (return-type "none")
   (parameters
-    '("const-gchar*" "name")
+    '("McPresence" "state")
+    '("const-gchar*" "status")
   )
 )
 
-(define-method get_auto_connect
-  (of-object "EmpathyChatroom")
-  (c-name "empathy_chatroom_get_auto_connect")
-  (return-type "gboolean")
+(define-function empathy_status_presets_clear_default
+  (c-name "empathy_status_presets_clear_default")
+  (return-type "none")
 )
 
-(define-method set_auto_connect
-  (of-object "EmpathyChatroom")
-  (c-name "empathy_chatroom_set_auto_connect")
+
+
+;; From empathy-debug.h
+
+(define-function empathy_debug_impl
+  (c-name "empathy_debug_impl")
   (return-type "none")
   (parameters
-    '("gboolean" "auto_connect")
+    '("const-gchar*" "domain")
+    '("const-gchar*" "msg")
   )
+  (varargs #t)
 )
 
-(define-function empathy_chatroom_equal
-  (c-name "empathy_chatroom_equal")
-  (return-type "gboolean")
-  (parameters
-    '("gconstpointer" "v1")
-    '("gconstpointer" "v2")
-  )
+(define-function empathy_debug_set_log_file_from_env
+  (c-name "empathy_debug_set_log_file_from_env")
+  (return-type "none")
 )
 
 
 
-;; From empathy-chatroom-manager.h
-
-(define-function empathy_chatroom_manager_get_type
-  (c-name "empathy_chatroom_manager_get_type")
-  (return-type "GType")
-)
+;; From empathy-utils.h
 
-(define-function empathy_chatroom_manager_new
-  (c-name "empathy_chatroom_manager_new")
-  (is-constructor-of "EmpathyChatroomManager")
-  (return-type "EmpathyChatroomManager*")
+(define-function empathy_substring
+  (c-name "empathy_substring")
+  (return-type "gchar*")
+  (parameters
+    '("const-gchar*" "str")
+    '("gint" "start")
+    '("gint" "end")
+  )
 )
 
-(define-method add
-  (of-object "EmpathyChatroomManager")
-  (c-name "empathy_chatroom_manager_add")
-  (return-type "gboolean")
+(define-function empathy_regex_match
+  (c-name "empathy_regex_match")
+  (return-type "gint")
   (parameters
-    '("EmpathyChatroom*" "chatroom")
+    '("EmpathyRegExType" "type")
+    '("const-gchar*" "msg")
+    '("GArray*" "start")
+    '("GArray*" "end")
   )
 )
 
-(define-method remove
-  (of-object "EmpathyChatroomManager")
-  (c-name "empathy_chatroom_manager_remove")
-  (return-type "none")
+(define-function empathy_strcasecmp
+  (c-name "empathy_strcasecmp")
+  (return-type "gint")
   (parameters
-    '("EmpathyChatroom*" "chatroom")
+    '("const-gchar*" "s1")
+    '("const-gchar*" "s2")
   )
 )
 
-(define-method find
-  (of-object "EmpathyChatroomManager")
-  (c-name "empathy_chatroom_manager_find")
-  (return-type "EmpathyChatroom*")
+(define-function empathy_strncasecmp
+  (c-name "empathy_strncasecmp")
+  (return-type "gint")
   (parameters
-    '("McAccount*" "account")
-    '("const-gchar*" "room")
+    '("const-gchar*" "s1")
+    '("const-gchar*" "s2")
+    '("gsize" "n")
   )
 )
 
-(define-method get_chatrooms
-  (of-object "EmpathyChatroomManager")
-  (c-name "empathy_chatroom_manager_get_chatrooms")
-  (return-type "GList*")
+(define-function empathy_xml_validate
+  (c-name "empathy_xml_validate")
+  (return-type "gboolean")
   (parameters
-    '("McAccount*" "account")
+    '("xmlDoc*" "doc")
+    '("const-gchar*" "dtd_filename")
   )
 )
 
-(define-method get_count
-  (of-object "EmpathyChatroomManager")
-  (c-name "empathy_chatroom_manager_get_count")
-  (return-type "guint")
+(define-function empathy_xml_node_get_child
+  (c-name "empathy_xml_node_get_child")
+  (return-type "xmlNodePtr")
   (parameters
-    '("McAccount*" "account")
+    '("xmlNodePtr" "node")
+    '("const-gchar*" "child_name")
   )
 )
 
-(define-method store
-  (of-object "EmpathyChatroomManager")
-  (c-name "empathy_chatroom_manager_store")
-  (return-type "none")
+(define-function empathy_xml_node_get_child_content
+  (c-name "empathy_xml_node_get_child_content")
+  (return-type "xmlChar*")
+  (parameters
+    '("xmlNodePtr" "node")
+    '("const-gchar*" "child_name")
+  )
 )
 
+(define-function empathy_xml_node_find_child_prop_value
+  (c-name "empathy_xml_node_find_child_prop_value")
+  (return-type "xmlNodePtr")
+  (parameters
+    '("xmlNodePtr" "node")
+    '("const-gchar*" "prop_name")
+    '("const-gchar*" "prop_value")
+  )
+)
 
+(define-function empathy_account_hash
+  (c-name "empathy_account_hash")
+  (return-type "guint")
+  (parameters
+    '("gconstpointer" "key")
+  )
+)
 
-;; From empathy-contact-factory.h
-
-(define-function empathy_contact_factory_get_type
-  (c-name "empathy_contact_factory_get_type")
-  (return-type "GType")
+(define-function empathy_account_equal
+  (c-name "empathy_account_equal")
+  (return-type "gboolean")
+  (parameters
+    '("gconstpointer" "a")
+    '("gconstpointer" "b")
+  )
 )
 
-(define-function empathy_contact_factory_new
-  (c-name "empathy_contact_factory_new")
-  (is-constructor-of "EmpathyContactFactory")
-  (return-type "EmpathyContactFactory*")
+(define-function empathy_mission_control_new
+  (c-name "empathy_mission_control_new")
+  (is-constructor-of "EmpathyMissionControl")
+  (return-type "MissionControl*")
 )
 
-(define-method get_user
-  (of-object "EmpathyContactFactory")
-  (c-name "empathy_contact_factory_get_user")
-  (return-type "EmpathyContact*")
+(define-function empathy_inspect_handle
+  (c-name "empathy_inspect_handle")
+  (return-type "gchar*")
   (parameters
     '("McAccount*" "account")
+    '("guint" "handle")
+    '("guint" "handle_type")
   )
 )
 
-(define-method get_from_id
-  (of-object "EmpathyContactFactory")
-  (c-name "empathy_contact_factory_get_from_id")
-  (return-type "EmpathyContact*")
+(define-function empathy_inspect_channel
+  (c-name "empathy_inspect_channel")
+  (return-type "gchar*")
   (parameters
     '("McAccount*" "account")
-    '("const-gchar*" "id")
+    '("TpChan*" "tp_chan")
   )
 )
 
-(define-method get_from_handle
-  (of-object "EmpathyContactFactory")
-  (c-name "empathy_contact_factory_get_from_handle")
-  (return-type "EmpathyContact*")
+(define-function empathy_call_with_contact
+  (c-name "empathy_call_with_contact")
+  (return-type "none")
   (parameters
-    '("McAccount*" "account")
-    '("guint" "handle")
+    '("EmpathyContact*" "contact")
   )
 )
 
-(define-method get_from_handles
-  (of-object "EmpathyContactFactory")
-  (c-name "empathy_contact_factory_get_from_handles")
-  (return-type "GList*")
+(define-function empathy_call_with_contact_id
+  (c-name "empathy_call_with_contact_id")
+  (return-type "none")
   (parameters
     '("McAccount*" "account")
-    '("GArray*" "handles")
+    '("const-gchar*" "contact_id")
   )
 )
 
-(define-method set_alias
-  (of-object "EmpathyContactFactory")
-  (c-name "empathy_contact_factory_set_alias")
+(define-function empathy_chat_with_contact
+  (c-name "empathy_chat_with_contact")
   (return-type "none")
   (parameters
     '("EmpathyContact*" "contact")
-    '("const-gchar*" "alias")
   )
 )
 
-(define-method set_avatar
-  (of-object "EmpathyContactFactory")
-  (c-name "empathy_contact_factory_set_avatar")
+(define-function empathy_chat_with_contact_id
+  (c-name "empathy_chat_with_contact_id")
   (return-type "none")
   (parameters
     '("McAccount*" "account")
-    '("const-gchar*" "data")
-    '("gsize" "size")
-    '("const-gchar*" "mime_type")
+    '("const-gchar*" "contact_id")
   )
 )
 
-
-
-;; From empathy-contact-groups.h
-
-(define-function empathy_contact_groups_get_all
-  (c-name "empathy_contact_groups_get_all")
-  (return-type "none")
+(define-function empathy_presence_get_default_message
+  (c-name "empathy_presence_get_default_message")
+  (return-type "const-gchar*")
+  (parameters
+    '("McPresence" "presence")
+  )
 )
 
-(define-function empathy_contact_group_get_expanded
-  (c-name "empathy_contact_group_get_expanded")
-  (return-type "gboolean")
+(define-function empathy_presence_to_str
+  (c-name "empathy_presence_to_str")
+  (return-type "const-gchar*")
   (parameters
-    '("const-gchar*" "group")
+    '("McPresence" "presence")
   )
 )
 
-(define-function empathy_contact_group_set_expanded
-  (c-name "empathy_contact_group_set_expanded")
-  (return-type "none")
+(define-function empathy_presence_from_str
+  (c-name "empathy_presence_from_str")
+  (return-type "McPresence")
   (parameters
-    '("const-gchar*" "group")
-    '("gboolean" "expanded")
+    '("const-gchar*" "str")
   )
 )
 
 
 
-;; From empathy-contact.h
+;; From empathy-message.h
 
-(define-function empathy_contact_get_type
-  (c-name "empathy_contact_get_type")
+(define-function empathy_message_get_gtype
+  (c-name "empathy_message_get_gtype")
   (return-type "GType")
 )
 
-(define-function empathy_contact_new
-  (c-name "empathy_contact_new")
-  (is-constructor-of "EmpathyContact")
-  (return-type "EmpathyContact*")
+(define-function empathy_message_new
+  (c-name "empathy_message_new")
+  (is-constructor-of "EmpathyMessage")
+  (return-type "EmpathyMessage*")
   (parameters
-    '("McAccount*" "account")
+    '("const-gchar*" "body")
   )
 )
 
-(define-function empathy_contact_new_full
-  (c-name "empathy_contact_new_full")
-  (return-type "EmpathyContact*")
+(define-method get_type
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_get_type")
+  (return-type "EmpathyMessageType")
+)
+
+(define-method set_type
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_set_type")
+  (return-type "none")
   (parameters
-    '("McAccount*" "account")
-    '("const-gchar*" "id")
-    '("const-gchar*" "name")
+    '("EmpathyMessageType" "type")
   )
 )
 
-(define-method get_id
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_get_id")
-  (return-type "const-gchar*")
+(define-method get_sender
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_get_sender")
+  (return-type "EmpathyContact*")
 )
 
-(define-method set_id
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_set_id")
+(define-method set_sender
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_set_sender")
   (return-type "none")
   (parameters
-    '("const-gchar*" "id")
+    '("EmpathyContact*" "contact")
   )
 )
 
-(define-method get_name
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_get_name")
-  (return-type "const-gchar*")
+(define-method get_receiver
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_get_receiver")
+  (return-type "EmpathyContact*")
 )
 
-(define-method set_name
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_set_name")
+(define-method set_receiver
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_set_receiver")
   (return-type "none")
   (parameters
-    '("const-gchar*" "name")
+    '("EmpathyContact*" "contact")
   )
 )
 
-(define-method get_avatar
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_get_avatar")
-  (return-type "EmpathyAvatar*")
+(define-method get_body
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_get_body")
+  (return-type "const-gchar*")
 )
 
-(define-method set_avatar
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_set_avatar")
+(define-method set_body
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_set_body")
   (return-type "none")
   (parameters
-    '("EmpathyAvatar*" "avatar")
+    '("const-gchar*" "body")
   )
 )
 
-(define-method get_account
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_get_account")
-  (return-type "McAccount*")
+(define-method get_timestamp
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_get_timestamp")
+  (return-type "time_t")
 )
 
-(define-method set_account
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_set_account")
+(define-method set_timestamp
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_set_timestamp")
   (return-type "none")
   (parameters
-    '("McAccount*" "account")
+    '("time_t" "timestamp")
   )
 )
 
-(define-method get_presence
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_get_presence")
-  (return-type "McPresence")
+(define-method get_date_and_time
+  (of-object "EmpathyMessage")
+  (c-name "empathy_message_get_date_and_time")
+  (return-type "GDate*")
+  (parameters
+    '("time_t*" "timestamp")
+  )
 )
 
-(define-method set_presence
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_set_presence")
-  (return-type "none")
+(define-function empathy_message_type_from_str
+  (c-name "empathy_message_type_from_str")
+  (return-type "EmpathyMessageType")
   (parameters
-    '("McPresence" "presence")
+    '("const-gchar*" "type_str")
   )
 )
 
-(define-method get_presence_message
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_get_presence_message")
+(define-method to_str
+  (of-object "EmpathyMessageType")
+  (c-name "empathy_message_type_to_str")
   (return-type "const-gchar*")
 )
 
-(define-method set_presence_message
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_set_presence_message")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "message")
-  )
-)
 
-(define-method get_handle
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_get_handle")
-  (return-type "guint")
-)
 
-(define-method set_handle
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_set_handle")
-  (return-type "none")
-  (parameters
-    '("guint" "handle")
-  )
-)
+;; From empathy-chatroom-manager.h
 
-(define-method get_capabilities
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_get_capabilities")
-  (return-type "EmpathyCapabilities")
+(define-function empathy_chatroom_manager_get_type
+  (c-name "empathy_chatroom_manager_get_type")
+  (return-type "GType")
 )
 
-(define-method set_capabilities
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_set_capabilities")
-  (return-type "none")
-  (parameters
-    '("EmpathyCapabilities" "capabilities")
-  )
+(define-function empathy_chatroom_manager_new
+  (c-name "empathy_chatroom_manager_new")
+  (is-constructor-of "EmpathyChatroomManager")
+  (return-type "EmpathyChatroomManager*")
 )
 
-(define-method is_user
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_is_user")
+(define-method add
+  (of-object "EmpathyChatroomManager")
+  (c-name "empathy_chatroom_manager_add")
   (return-type "gboolean")
+  (parameters
+    '("EmpathyChatroom*" "chatroom")
+  )
 )
 
-(define-method set_is_user
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_set_is_user")
+(define-method remove
+  (of-object "EmpathyChatroomManager")
+  (c-name "empathy_chatroom_manager_remove")
   (return-type "none")
   (parameters
-    '("gboolean" "is_user")
+    '("EmpathyChatroom*" "chatroom")
   )
 )
 
-(define-method is_online
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_is_online")
-  (return-type "gboolean")
-)
-
-(define-method get_status
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_get_status")
-  (return-type "const-gchar*")
-)
-
-(define-method can_voip
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_can_voip")
-  (return-type "gboolean")
+(define-method find
+  (of-object "EmpathyChatroomManager")
+  (c-name "empathy_chatroom_manager_find")
+  (return-type "EmpathyChatroom*")
+  (parameters
+    '("McAccount*" "account")
+    '("const-gchar*" "room")
+  )
 )
 
-(define-function empathy_contact_equal
-  (c-name "empathy_contact_equal")
-  (return-type "gboolean")
+(define-method get_chatrooms
+  (of-object "EmpathyChatroomManager")
+  (c-name "empathy_chatroom_manager_get_chatrooms")
+  (return-type "GList*")
   (parameters
-    '("gconstpointer" "v1")
-    '("gconstpointer" "v2")
+    '("McAccount*" "account")
   )
 )
 
-(define-function empathy_contact_hash
-  (c-name "empathy_contact_hash")
+(define-method get_count
+  (of-object "EmpathyChatroomManager")
+  (c-name "empathy_chatroom_manager_get_count")
   (return-type "guint")
   (parameters
-    '("gconstpointer" "key")
+    '("McAccount*" "account")
   )
 )
 
+(define-method store
+  (of-object "EmpathyChatroomManager")
+  (c-name "empathy_chatroom_manager_store")
+  (return-type "none")
+)
 
 
-;; From empathy-contact-list.h
 
-(define-function empathy_contact_list_get_type
-  (c-name "empathy_contact_list_get_type")
+;; From empathy-chatroom.h
+
+(define-function empathy_chatroom_get_type
+  (c-name "empathy_chatroom_get_type")
   (return-type "GType")
 )
 
-(define-method add
-  (of-object "EmpathyContactList")
-  (c-name "empathy_contact_list_add")
-  (return-type "none")
+(define-function empathy_chatroom_new
+  (c-name "empathy_chatroom_new")
+  (is-constructor-of "EmpathyChatroom")
+  (return-type "EmpathyChatroom*")
   (parameters
-    '("EmpathyContact*" "contact")
-    '("const-gchar*" "message")
+    '("McAccount*" "account")
+    '("const-gchar*" "room")
   )
 )
 
-(define-method remove
-  (of-object "EmpathyContactList")
-  (c-name "empathy_contact_list_remove")
-  (return-type "none")
+(define-function empathy_chatroom_new_full
+  (c-name "empathy_chatroom_new_full")
+  (return-type "EmpathyChatroom*")
   (parameters
-    '("EmpathyContact*" "contact")
-    '("const-gchar*" "message")
+    '("McAccount*" "account")
+    '("const-gchar*" "room")
+    '("const-gchar*" "name")
+    '("gboolean" "auto_connect")
   )
 )
 
-(define-method get_members
-  (of-object "EmpathyContactList")
-  (c-name "empathy_contact_list_get_members")
-  (return-type "GList*")
+(define-method get_account
+  (of-object "EmpathyChatroom")
+  (c-name "empathy_chatroom_get_account")
+  (return-type "McAccount*")
 )
 
-(define-method get_pendings
-  (of-object "EmpathyContactList")
-  (c-name "empathy_contact_list_get_pendings")
-  (return-type "GList*")
+(define-method set_account
+  (of-object "EmpathyChatroom")
+  (c-name "empathy_chatroom_set_account")
+  (return-type "none")
+  (parameters
+    '("McAccount*" "account")
+  )
 )
 
-(define-method get_all_groups
-  (of-object "EmpathyContactList")
-  (c-name "empathy_contact_list_get_all_groups")
-  (return-type "GList*")
+(define-method get_room
+  (of-object "EmpathyChatroom")
+  (c-name "empathy_chatroom_get_room")
+  (return-type "const-gchar*")
 )
 
-(define-method get_groups
-  (of-object "EmpathyContactList")
-  (c-name "empathy_contact_list_get_groups")
-  (return-type "GList*")
+(define-method set_room
+  (of-object "EmpathyChatroom")
+  (c-name "empathy_chatroom_set_room")
+  (return-type "none")
   (parameters
-    '("EmpathyContact*" "contact")
+    '("const-gchar*" "room")
   )
 )
 
-(define-method add_to_group
-  (of-object "EmpathyContactList")
-  (c-name "empathy_contact_list_add_to_group")
-  (return-type "none")
-  (parameters
-    '("EmpathyContact*" "contact")
-    '("const-gchar*" "group")
-  )
+(define-method get_name
+  (of-object "EmpathyChatroom")
+  (c-name "empathy_chatroom_get_name")
+  (return-type "const-gchar*")
 )
 
-(define-method remove_from_group
-  (of-object "EmpathyContactList")
-  (c-name "empathy_contact_list_remove_from_group")
+(define-method set_name
+  (of-object "EmpathyChatroom")
+  (c-name "empathy_chatroom_set_name")
   (return-type "none")
   (parameters
-    '("EmpathyContact*" "contact")
-    '("const-gchar*" "group")
+    '("const-gchar*" "name")
   )
 )
 
-(define-method rename_group
-  (of-object "EmpathyContactList")
-  (c-name "empathy_contact_list_rename_group")
+(define-method get_auto_connect
+  (of-object "EmpathyChatroom")
+  (c-name "empathy_chatroom_get_auto_connect")
+  (return-type "gboolean")
+)
+
+(define-method set_auto_connect
+  (of-object "EmpathyChatroom")
+  (c-name "empathy_chatroom_set_auto_connect")
   (return-type "none")
   (parameters
-    '("const-gchar*" "old_group")
-    '("const-gchar*" "new_group")
+    '("gboolean" "auto_connect")
   )
 )
 
-(define-method remove_group
-  (of-object "EmpathyContactList")
-  (c-name "empathy_contact_list_remove_group")
-  (return-type "none")
+(define-function empathy_chatroom_equal
+  (c-name "empathy_chatroom_equal")
+  (return-type "gboolean")
   (parameters
-    '("const-gchar*" "group")
+    '("gconstpointer" "v1")
+    '("gconstpointer" "v2")
   )
 )
 
 
 
-;; From empathy-contact-manager.h
+;; From empathy-contact.h
 
-(define-function empathy_contact_manager_get_type
-  (c-name "empathy_contact_manager_get_type")
+(define-function empathy_contact_get_type
+  (c-name "empathy_contact_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_contact_manager_new
-  (c-name "empathy_contact_manager_new")
-  (is-constructor-of "EmpathyContactManager")
-  (return-type "EmpathyContactManager*")
+(define-function empathy_contact_new
+  (c-name "empathy_contact_new")
+  (is-constructor-of "EmpathyContact")
+  (return-type "EmpathyContact*")
+  (parameters
+    '("McAccount*" "account")
+  )
 )
 
-(define-method get_list
-  (of-object "EmpathyContactManager")
-  (c-name "empathy_contact_manager_get_list")
-  (return-type "EmpathyTpContactList*")
+(define-function empathy_contact_new_full
+  (c-name "empathy_contact_new_full")
+  (return-type "EmpathyContact*")
   (parameters
     '("McAccount*" "account")
+    '("const-gchar*" "id")
+    '("const-gchar*" "name")
   )
 )
 
+(define-method get_id
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_get_id")
+  (return-type "const-gchar*")
+)
 
-
-;; From empathy-debug.h
-
-(define-function empathy_debug_impl
-  (c-name "empathy_debug_impl")
+(define-method set_id
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_set_id")
   (return-type "none")
   (parameters
-    '("const-gchar*" "domain")
-    '("const-gchar*" "msg")
+    '("const-gchar*" "id")
   )
-  (varargs #t)
-)
-
-(define-function empathy_debug_set_log_file_from_env
-  (c-name "empathy_debug_set_log_file_from_env")
-  (return-type "none")
 )
 
-
-
-;; From empathy-filter.h
-
-(define-function empathy_filter_get_type
-  (c-name "empathy_filter_get_type")
-  (return-type "GType")
+(define-method get_name
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_get_name")
+  (return-type "const-gchar*")
 )
 
-(define-function empathy_filter_new
-  (c-name "empathy_filter_new")
-  (is-constructor-of "EmpathyFilter")
-  (return-type "EmpathyFilter*")
+(define-method set_name
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_set_name")
+  (return-type "none")
   (parameters
-    '("const-gchar*" "bus_name")
-    '("const-gchar*" "object_path")
-    '("const-gchar*" "channel_type")
-    '("guint" "priority")
-    '("guint" "flags")
+    '("const-gchar*" "name")
   )
 )
 
-(define-method process
-  (of-object "EmpathyFilter")
-  (c-name "empathy_filter_process")
+(define-method get_avatar
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_get_avatar")
+  (return-type "EmpathyAvatar*")
+)
+
+(define-method set_avatar
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_set_avatar")
   (return-type "none")
   (parameters
-    '("TpChan*" "tp_chan")
-    '("gboolean" "process")
+    '("EmpathyAvatar*" "avatar")
   )
 )
 
-
-
-;; From empathy-idle.h
-
-(define-function empathy_idle_get_type
-  (c-name "empathy_idle_get_type")
-  (return-type "GType")
+(define-method get_account
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_get_account")
+  (return-type "McAccount*")
 )
 
-(define-function empathy_idle_new
-  (c-name "empathy_idle_new")
-  (is-constructor-of "EmpathyIdle")
-  (return-type "EmpathyIdle*")
+(define-method set_account
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_set_account")
+  (return-type "none")
+  (parameters
+    '("McAccount*" "account")
+  )
 )
 
-(define-method get_state
-  (of-object "EmpathyIdle")
-  (c-name "empathy_idle_get_state")
+(define-method get_presence
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_get_presence")
   (return-type "McPresence")
 )
 
-(define-method set_state
-  (of-object "EmpathyIdle")
-  (c-name "empathy_idle_set_state")
+(define-method set_presence
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_set_presence")
   (return-type "none")
   (parameters
-    '("McPresence" "state")
+    '("McPresence" "presence")
   )
 )
 
-(define-method get_status
-  (of-object "EmpathyIdle")
-  (c-name "empathy_idle_get_status")
+(define-method get_presence_message
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_get_presence_message")
   (return-type "const-gchar*")
 )
 
-(define-method set_status
-  (of-object "EmpathyIdle")
-  (c-name "empathy_idle_set_status")
+(define-method set_presence_message
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_set_presence_message")
   (return-type "none")
   (parameters
-    '("const-gchar*" "status")
+    '("const-gchar*" "message")
   )
 )
 
-(define-method get_flash_state
-  (of-object "EmpathyIdle")
-  (c-name "empathy_idle_get_flash_state")
-  (return-type "McPresence")
+(define-method get_handle
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_get_handle")
+  (return-type "guint")
 )
 
-(define-method set_flash_state
-  (of-object "EmpathyIdle")
-  (c-name "empathy_idle_set_flash_state")
+(define-method set_handle
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_set_handle")
   (return-type "none")
   (parameters
-    '("McPresence" "state")
+    '("guint" "handle")
   )
 )
 
-(define-method set_presence
-  (of-object "EmpathyIdle")
-  (c-name "empathy_idle_set_presence")
+(define-method get_capabilities
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_get_capabilities")
+  (return-type "EmpathyCapabilities")
+)
+
+(define-method set_capabilities
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_set_capabilities")
   (return-type "none")
   (parameters
-    '("McPresence" "state")
-    '("const-gchar*" "status")
+    '("EmpathyCapabilities" "capabilities")
   )
 )
 
-(define-method get_auto_away
-  (of-object "EmpathyIdle")
-  (c-name "empathy_idle_get_auto_away")
+(define-method get_ready
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_get_ready")
+  (return-type "EmpathyContactReady")
+)
+
+(define-method is_user
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_is_user")
   (return-type "gboolean")
 )
 
-(define-method set_auto_away
-  (of-object "EmpathyIdle")
-  (c-name "empathy_idle_set_auto_away")
+(define-method set_is_user
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_set_is_user")
   (return-type "none")
   (parameters
-    '("gboolean" "auto_away")
+    '("gboolean" "is_user")
   )
 )
 
-(define-method get_use_nm
-  (of-object "EmpathyIdle")
-  (c-name "empathy_idle_get_use_nm")
+(define-method is_online
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_is_online")
   (return-type "gboolean")
 )
 
-(define-method set_use_nm
-  (of-object "EmpathyIdle")
-  (c-name "empathy_idle_set_use_nm")
-  (return-type "none")
-  (parameters
-    '("gboolean" "use_nm")
-  )
+(define-method get_status
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_get_status")
+  (return-type "const-gchar*")
 )
 
-
-
-;; From empathy-irc-network.h
-
-(define-function empathy_irc_network_get_type
-  (c-name "empathy_irc_network_get_type")
-  (return-type "GType")
+(define-method can_voip
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_can_voip")
+  (return-type "gboolean")
 )
 
-(define-function empathy_irc_network_new
-  (c-name "empathy_irc_network_new")
-  (is-constructor-of "EmpathyIrcNetwork")
-  (return-type "EmpathyIrcNetwork*")
+(define-function empathy_contact_equal
+  (c-name "empathy_contact_equal")
+  (return-type "gboolean")
   (parameters
-    '("const-gchar*" "name")
+    '("gconstpointer" "v1")
+    '("gconstpointer" "v2")
   )
 )
 
-(define-method get_servers
-  (of-object "EmpathyIrcNetwork")
-  (c-name "empathy_irc_network_get_servers")
-  (return-type "GSList*")
+(define-function empathy_contact_hash
+  (c-name "empathy_contact_hash")
+  (return-type "guint")
+  (parameters
+    '("gconstpointer" "key")
+  )
 )
 
-(define-method append_server
-  (of-object "EmpathyIrcNetwork")
-  (c-name "empathy_irc_network_append_server")
+(define-method run_until_ready
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_run_until_ready")
   (return-type "none")
   (parameters
-    '("EmpathyIrcServer*" "server")
+    '("EmpathyContactReady" "ready")
+    '("GMainLoop**" "loop")
   )
 )
 
-(define-method remove_server
-  (of-object "EmpathyIrcNetwork")
-  (c-name "empathy_irc_network_remove_server")
+
+
+;; From empathy-contact-groups.h
+
+(define-function empathy_contact_groups_get_all
+  (c-name "empathy_contact_groups_get_all")
   (return-type "none")
+)
+
+(define-function empathy_contact_group_get_expanded
+  (c-name "empathy_contact_group_get_expanded")
+  (return-type "gboolean")
   (parameters
-    '("EmpathyIrcServer*" "server")
+    '("const-gchar*" "group")
   )
 )
 
-(define-method set_server_position
-  (of-object "EmpathyIrcNetwork")
-  (c-name "empathy_irc_network_set_server_position")
+(define-function empathy_contact_group_set_expanded
+  (c-name "empathy_contact_group_set_expanded")
   (return-type "none")
   (parameters
-    '("EmpathyIrcServer*" "server")
-    '("gint" "pos")
+    '("const-gchar*" "group")
+    '("gboolean" "expanded")
   )
 )
 
 
 
-;; From empathy-irc-network-manager.h
+;; From empathy-contact-list.h
 
-(define-function empathy_irc_network_manager_get_type
-  (c-name "empathy_irc_network_manager_get_type")
+(define-function empathy_contact_list_get_type
+  (c-name "empathy_contact_list_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_irc_network_manager_new
-  (c-name "empathy_irc_network_manager_new")
-  (is-constructor-of "EmpathyIrcNetworkManager")
-  (return-type "EmpathyIrcNetworkManager*")
-  (parameters
-    '("const-gchar*" "global_file")
-    '("const-gchar*" "user_file")
-  )
-)
-
 (define-method add
-  (of-object "EmpathyIrcNetworkManager")
-  (c-name "empathy_irc_network_manager_add")
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_add")
   (return-type "none")
   (parameters
-    '("EmpathyIrcNetwork*" "network")
+    '("EmpathyContact*" "contact")
+    '("const-gchar*" "message")
   )
 )
 
 (define-method remove
-  (of-object "EmpathyIrcNetworkManager")
-  (c-name "empathy_irc_network_manager_remove")
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_remove")
   (return-type "none")
   (parameters
-    '("EmpathyIrcNetwork*" "network")
+    '("EmpathyContact*" "contact")
+    '("const-gchar*" "message")
   )
 )
 
-(define-method get_networks
-  (of-object "EmpathyIrcNetworkManager")
-  (c-name "empathy_irc_network_manager_get_networks")
-  (return-type "GSList*")
+(define-method get_members
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_get_members")
+  (return-type "GList*")
 )
 
-(define-method find_network_by_address
-  (of-object "EmpathyIrcNetworkManager")
-  (c-name "empathy_irc_network_manager_find_network_by_address")
-  (return-type "EmpathyIrcNetwork*")
+(define-method get_pendings
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_get_pendings")
+  (return-type "GList*")
+)
+
+(define-method get_all_groups
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_get_all_groups")
+  (return-type "GList*")
+)
+
+(define-method get_groups
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_get_groups")
+  (return-type "GList*")
   (parameters
-    '("const-gchar*" "address")
+    '("EmpathyContact*" "contact")
   )
 )
 
+(define-method add_to_group
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_add_to_group")
+  (return-type "none")
+  (parameters
+    '("EmpathyContact*" "contact")
+    '("const-gchar*" "group")
+  )
+)
 
+(define-method remove_from_group
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_remove_from_group")
+  (return-type "none")
+  (parameters
+    '("EmpathyContact*" "contact")
+    '("const-gchar*" "group")
+  )
+)
 
-;; From empathy-irc-server.h
-
-(define-function empathy_irc_server_get_type
-  (c-name "empathy_irc_server_get_type")
-  (return-type "GType")
+(define-method rename_group
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_rename_group")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "old_group")
+    '("const-gchar*" "new_group")
+  )
 )
 
-(define-function empathy_irc_server_new
-  (c-name "empathy_irc_server_new")
-  (is-constructor-of "EmpathyIrcServer")
-  (return-type "EmpathyIrcServer*")
+(define-method remove_group
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_remove_group")
+  (return-type "none")
   (parameters
-    '("const-gchar*" "address")
-    '("guint" "port")
-    '("gboolean" "ssl")
+    '("const-gchar*" "group")
   )
 )
 
 
 
-;; From empathy-log-manager.h
+;; From empathy-contact-manager.h
 
-(define-function empathy_log_manager_get_type
-  (c-name "empathy_log_manager_get_type")
+(define-function empathy_contact_manager_get_type
+  (c-name "empathy_contact_manager_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_log_manager_new
-  (c-name "empathy_log_manager_new")
-  (is-constructor-of "EmpathyLogManager")
-  (return-type "EmpathyLogManager*")
-)
-
-(define-method add_message
-  (of-object "EmpathyLogManager")
-  (c-name "empathy_log_manager_add_message")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "chat_id")
-    '("gboolean" "chatroom")
-    '("EmpathyMessage*" "message")
-  )
+(define-function empathy_contact_manager_new
+  (c-name "empathy_contact_manager_new")
+  (is-constructor-of "EmpathyContactManager")
+  (return-type "EmpathyContactManager*")
 )
 
-(define-method exists
-  (of-object "EmpathyLogManager")
-  (c-name "empathy_log_manager_exists")
-  (return-type "gboolean")
+(define-method get_list
+  (of-object "EmpathyContactManager")
+  (c-name "empathy_contact_manager_get_list")
+  (return-type "EmpathyTpContactList*")
   (parameters
     '("McAccount*" "account")
-    '("const-gchar*" "chat_id")
-    '("gboolean" "chatroom")
   )
 )
 
-(define-method get_dates
-  (of-object "EmpathyLogManager")
-  (c-name "empathy_log_manager_get_dates")
-  (return-type "GList*")
-  (parameters
-    '("McAccount*" "account")
-    '("const-gchar*" "chat_id")
-    '("gboolean" "chatroom")
-  )
+
+
+;; From empathy-contact-factory.h
+
+(define-function empathy_contact_factory_get_type
+  (c-name "empathy_contact_factory_get_type")
+  (return-type "GType")
 )
 
-(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-function empathy_contact_factory_new
+  (c-name "empathy_contact_factory_new")
+  (is-constructor-of "EmpathyContactFactory")
+  (return-type "EmpathyContactFactory*")
 )
 
-(define-method get_messages_for_date
-  (of-object "EmpathyLogManager")
-  (c-name "empathy_log_manager_get_messages_for_date")
-  (return-type "GList*")
+(define-method get_tp_factory
+  (of-object "EmpathyContactFactory")
+  (c-name "empathy_contact_factory_get_tp_factory")
+  (return-type "EmpathyTpContactFactory*")
   (parameters
     '("McAccount*" "account")
-    '("const-gchar*" "chat_id")
-    '("gboolean" "chatroom")
-    '("const-gchar*" "date")
   )
 )
 
-(define-method get_last_messages
-  (of-object "EmpathyLogManager")
-  (c-name "empathy_log_manager_get_last_messages")
-  (return-type "GList*")
+(define-method get_user
+  (of-object "EmpathyContactFactory")
+  (c-name "empathy_contact_factory_get_user")
+  (return-type "EmpathyContact*")
   (parameters
     '("McAccount*" "account")
-    '("const-gchar*" "chat_id")
-    '("gboolean" "chatroom")
   )
 )
 
-(define-method get_messages_for_file
-  (of-object "EmpathyLogManager")
-  (c-name "empathy_log_manager_get_messages_for_file")
-  (return-type "GList*")
+(define-method get_from_id
+  (of-object "EmpathyContactFactory")
+  (c-name "empathy_contact_factory_get_from_id")
+  (return-type "EmpathyContact*")
   (parameters
-    '("const-gchar*" "filename")
+    '("McAccount*" "account")
+    '("const-gchar*" "id")
   )
 )
 
-(define-method get_chats
-  (of-object "EmpathyLogManager")
-  (c-name "empathy_log_manager_get_chats")
-  (return-type "GList*")
+(define-method get_from_handle
+  (of-object "EmpathyContactFactory")
+  (c-name "empathy_contact_factory_get_from_handle")
+  (return-type "EmpathyContact*")
   (parameters
     '("McAccount*" "account")
+    '("guint" "handle")
   )
 )
 
-(define-method search_new
-  (of-object "EmpathyLogManager")
-  (c-name "empathy_log_manager_search_new")
+(define-method get_from_handles
+  (of-object "EmpathyContactFactory")
+  (c-name "empathy_contact_factory_get_from_handles")
   (return-type "GList*")
   (parameters
-    '("const-gchar*" "text")
+    '("McAccount*" "account")
+    '("GArray*" "handles")
   )
 )
 
-(define-function empathy_log_manager_search_free
-  (c-name "empathy_log_manager_search_free")
+(define-method set_alias
+  (of-object "EmpathyContactFactory")
+  (c-name "empathy_contact_factory_set_alias")
   (return-type "none")
   (parameters
-    '("GList*" "hits")
+    '("EmpathyContact*" "contact")
+    '("const-gchar*" "alias")
   )
 )
 
-(define-function empathy_log_manager_get_date_readable
-  (c-name "empathy_log_manager_get_date_readable")
-  (return-type "gchar*")
+(define-method set_avatar
+  (of-object "EmpathyContactFactory")
+  (c-name "empathy_contact_factory_set_avatar")
+  (return-type "none")
   (parameters
-    '("const-gchar*" "date")
+    '("McAccount*" "account")
+    '("const-gchar*" "data")
+    '("gsize" "size")
+    '("const-gchar*" "mime_type")
   )
 )
 
 
 
-;; From empathy-message.h
+;; From empathy-tp-contact-factory.h
 
-(define-function empathy_message_get_gtype
-  (c-name "empathy_message_get_gtype")
+(define-function empathy_tp_contact_factory_get_type
+  (c-name "empathy_tp_contact_factory_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_message_new
-  (c-name "empathy_message_new")
-  (is-constructor-of "EmpathyMessage")
-  (return-type "EmpathyMessage*")
+(define-function empathy_tp_contact_factory_new
+  (c-name "empathy_tp_contact_factory_new")
+  (is-constructor-of "EmpathyTpContactFactory")
+  (return-type "EmpathyTpContactFactory*")
   (parameters
-    '("const-gchar*" "body")
+    '("McAccount*" "account")
   )
 )
 
-(define-method get_type
-  (of-object "EmpathyMessage")
-  (c-name "empathy_message_get_type")
-  (return-type "EmpathyMessageType")
+(define-method get_user
+  (of-object "EmpathyTpContactFactory")
+  (c-name "empathy_tp_contact_factory_get_user")
+  (return-type "EmpathyContact*")
 )
 
-(define-method set_type
-  (of-object "EmpathyMessage")
-  (c-name "empathy_message_set_type")
-  (return-type "none")
+(define-method get_from_id
+  (of-object "EmpathyTpContactFactory")
+  (c-name "empathy_tp_contact_factory_get_from_id")
+  (return-type "EmpathyContact*")
   (parameters
-    '("EmpathyMessageType" "type")
+    '("const-gchar*" "id")
   )
 )
 
-(define-method get_sender
-  (of-object "EmpathyMessage")
-  (c-name "empathy_message_get_sender")
+(define-method get_from_handle
+  (of-object "EmpathyTpContactFactory")
+  (c-name "empathy_tp_contact_factory_get_from_handle")
   (return-type "EmpathyContact*")
-)
-
-(define-method set_sender
-  (of-object "EmpathyMessage")
-  (c-name "empathy_message_set_sender")
-  (return-type "none")
   (parameters
-    '("EmpathyContact*" "contact")
+    '("guint" "handle")
   )
 )
 
-(define-method get_receiver
-  (of-object "EmpathyMessage")
-  (c-name "empathy_message_get_receiver")
-  (return-type "EmpathyContact*")
+(define-method get_from_handles
+  (of-object "EmpathyTpContactFactory")
+  (c-name "empathy_tp_contact_factory_get_from_handles")
+  (return-type "GList*")
+  (parameters
+    '("const-GArray*" "handles")
+  )
 )
 
-(define-method set_receiver
-  (of-object "EmpathyMessage")
-  (c-name "empathy_message_set_receiver")
+(define-method set_alias
+  (of-object "EmpathyTpContactFactory")
+  (c-name "empathy_tp_contact_factory_set_alias")
   (return-type "none")
   (parameters
     '("EmpathyContact*" "contact")
+    '("const-gchar*" "alias")
   )
 )
 
-(define-method get_body
-  (of-object "EmpathyMessage")
-  (c-name "empathy_message_get_body")
-  (return-type "const-gchar*")
-)
-
-(define-method set_body
-  (of-object "EmpathyMessage")
-  (c-name "empathy_message_set_body")
+(define-method set_avatar
+  (of-object "EmpathyTpContactFactory")
+  (c-name "empathy_tp_contact_factory_set_avatar")
   (return-type "none")
   (parameters
-    '("const-gchar*" "body")
+    '("const-gchar*" "data")
+    '("gsize" "size")
+    '("const-gchar*" "mime_type")
   )
 )
 
-(define-method get_timestamp
-  (of-object "EmpathyMessage")
-  (c-name "empathy_message_get_timestamp")
-  (return-type "time_t")
+(define-method is_ready
+  (of-object "EmpathyTpContactFactory")
+  (c-name "empathy_tp_contact_factory_is_ready")
+  (return-type "gboolean")
 )
 
-(define-method set_timestamp
-  (of-object "EmpathyMessage")
-  (c-name "empathy_message_set_timestamp")
-  (return-type "none")
-  (parameters
-    '("time_t" "timestamp")
-  )
-)
 
-(define-method get_date_and_time
-  (of-object "EmpathyMessage")
-  (c-name "empathy_message_get_date_and_time")
-  (return-type "GDate*")
-  (parameters
-    '("time_t*" "timestamp")
-  )
+
+;; From empathy-tp-group.h
+
+(define-function empathy_tp_group_get_type
+  (c-name "empathy_tp_group_get_type")
+  (return-type "GType")
 )
 
-(define-function empathy_message_type_from_str
-  (c-name "empathy_message_type_from_str")
-  (return-type "EmpathyMessageType")
+(define-function empathy_tp_group_new
+  (c-name "empathy_tp_group_new")
+  (is-constructor-of "EmpathyTpGroup")
+  (return-type "EmpathyTpGroup*")
   (parameters
-    '("const-gchar*" "type_str")
+    '("McAccount*" "account")
+    '("TpChan*" "tp_chan")
   )
 )
 
-(define-method to_str
-  (of-object "EmpathyMessageType")
-  (c-name "empathy_message_type_to_str")
-  (return-type "const-gchar*")
-)
-
-
-
-;; From empathy-status-presets.h
-
-(define-function empathy_status_presets_get_all
-  (c-name "empathy_status_presets_get_all")
+(define-method close
+  (of-object "EmpathyTpGroup")
+  (c-name "empathy_tp_group_close")
   (return-type "none")
 )
 
-(define-function empathy_status_presets_get
-  (c-name "empathy_status_presets_get")
-  (return-type "GList*")
+(define-method add_members
+  (of-object "EmpathyTpGroup")
+  (c-name "empathy_tp_group_add_members")
+  (return-type "none")
   (parameters
-    '("McPresence" "state")
-    '("gint" "max_number")
+    '("GList*" "contacts")
+    '("const-gchar*" "message")
   )
 )
 
-(define-function empathy_status_presets_set_last
-  (c-name "empathy_status_presets_set_last")
+(define-method add_member
+  (of-object "EmpathyTpGroup")
+  (c-name "empathy_tp_group_add_member")
   (return-type "none")
   (parameters
-    '("McPresence" "state")
-    '("const-gchar*" "status")
+    '("EmpathyContact*" "contact")
+    '("const-gchar*" "message")
   )
 )
 
-(define-function empathy_status_presets_remove
-  (c-name "empathy_status_presets_remove")
+(define-method remove_members
+  (of-object "EmpathyTpGroup")
+  (c-name "empathy_tp_group_remove_members")
   (return-type "none")
   (parameters
-    '("McPresence" "state")
-    '("const-gchar*" "status")
+    '("GList*" "contacts")
+    '("const-gchar*" "message")
   )
 )
 
-(define-function empathy_status_presets_reset
-  (c-name "empathy_status_presets_reset")
+(define-method remove_member
+  (of-object "EmpathyTpGroup")
+  (c-name "empathy_tp_group_remove_member")
   (return-type "none")
+  (parameters
+    '("EmpathyContact*" "contact")
+    '("const-gchar*" "message")
+  )
 )
 
-(define-function empathy_status_presets_get_default_state
-  (c-name "empathy_status_presets_get_default_state")
-  (return-type "McPresence")
+(define-method get_members
+  (of-object "EmpathyTpGroup")
+  (c-name "empathy_tp_group_get_members")
+  (return-type "GList*")
 )
 
-(define-function empathy_status_presets_get_default_status
-  (c-name "empathy_status_presets_get_default_status")
-  (return-type "const-gchar*")
+(define-method get_local_pendings
+  (of-object "EmpathyTpGroup")
+  (c-name "empathy_tp_group_get_local_pendings")
+  (return-type "GList*")
 )
 
-(define-function empathy_status_presets_set_default
-  (c-name "empathy_status_presets_set_default")
-  (return-type "none")
-  (parameters
-    '("McPresence" "state")
-    '("const-gchar*" "status")
-  )
+(define-method get_remote_pendings
+  (of-object "EmpathyTpGroup")
+  (c-name "empathy_tp_group_get_remote_pendings")
+  (return-type "GList*")
 )
 
-(define-function empathy_status_presets_clear_default
-  (c-name "empathy_status_presets_clear_default")
-  (return-type "none")
+(define-method get_name
+  (of-object "EmpathyTpGroup")
+  (c-name "empathy_tp_group_get_name")
+  (return-type "const-gchar*")
 )
 
+(define-method get_self_contact
+  (of-object "EmpathyTpGroup")
+  (c-name "empathy_tp_group_get_self_contact")
+  (return-type "EmpathyContact*")
+)
 
-
-;; From empathy-time.h
-
-(define-function empathy_time_get_current
-  (c-name "empathy_time_get_current")
-  (return-type "time_t")
+(define-method get_object_path
+  (of-object "EmpathyTpGroup")
+  (c-name "empathy_tp_group_get_object_path")
+  (return-type "const-gchar*")
 )
 
-(define-function empathy_time_get_local_time
-  (c-name "empathy_time_get_local_time")
-  (return-type "time_t")
-  (parameters
-    '("struct-tm*" "tm")
-  )
+(define-method get_channel
+  (of-object "EmpathyTpGroup")
+  (c-name "empathy_tp_group_get_channel")
+  (return-type "TpChan*")
 )
 
-(define-function empathy_time_parse
-  (c-name "empathy_time_parse")
-  (return-type "time_t")
+(define-method is_member
+  (of-object "EmpathyTpGroup")
+  (c-name "empathy_tp_group_is_member")
+  (return-type "gboolean")
   (parameters
-    '("const-gchar*" "str")
+    '("EmpathyContact*" "contact")
   )
 )
 
-(define-function empathy_time_to_string_utc
-  (c-name "empathy_time_to_string_utc")
-  (return-type "gchar*")
+(define-function empathy_pending_info_new
+  (c-name "empathy_pending_info_new")
+  (is-constructor-of "EmpathyPendingInfo")
+  (return-type "EmpathyPendingInfo*")
   (parameters
-    '("time_t" "t")
-    '("const-gchar*" "format")
+    '("EmpathyContact*" "member")
+    '("EmpathyContact*" "actor")
+    '("const-gchar*" "message")
   )
 )
 
-(define-function empathy_time_to_string_local
-  (c-name "empathy_time_to_string_local")
-  (return-type "gchar*")
-  (parameters
-    '("time_t" "t")
-    '("const-gchar*" "format")
-  )
+(define-method free
+  (of-object "EmpathyPendingInfo")
+  (c-name "empathy_pending_info_free")
+  (return-type "none")
 )
 
 
 
-;; From empathy-tp-call.h
+;; From empathy-tp-contact-list.h
 
-(define-function empathy_tp_call_get_type
-  (c-name "empathy_tp_call_get_type")
+(define-function empathy_tp_contact_list_get_type
+  (c-name "empathy_tp_contact_list_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_tp_call_new
-  (c-name "empathy_tp_call_new")
-  (is-constructor-of "EmpathyTpCall")
-  (return-type "EmpathyTpCall*")
+(define-function empathy_tp_contact_list_new
+  (c-name "empathy_tp_contact_list_new")
+  (is-constructor-of "EmpathyTpContactList")
+  (return-type "EmpathyTpContactList*")
   (parameters
-    '("TpConn*" "connection")
-    '("TpChan*" "channel")
+    '("McAccount*" "account")
   )
 )
 
-(define-method accept_incoming_call
-  (of-object "EmpathyTpCall")
-  (c-name "empathy_tp_call_accept_incoming_call")
-  (return-type "none")
+(define-method get_account
+  (of-object "EmpathyTpContactList")
+  (c-name "empathy_tp_contact_list_get_account")
+  (return-type "McAccount*")
 )
 
-(define-method close_channel
-  (of-object "EmpathyTpCall")
-  (c-name "empathy_tp_call_close_channel")
-  (return-type "none")
-)
 
-(define-method request_video_stream_direction
-  (of-object "EmpathyTpCall")
-  (c-name "empathy_tp_call_request_video_stream_direction")
-  (return-type "none")
-  (parameters
-    '("gboolean" "is_sending")
-  )
-)
-
-(define-method add_preview_video
-  (of-object "EmpathyTpCall")
-  (c-name "empathy_tp_call_add_preview_video")
-  (return-type "none")
-  (parameters
-    '("guint" "preview_video_socket_id")
-  )
-)
-
-(define-method remove_preview_video
-  (of-object "EmpathyTpCall")
-  (c-name "empathy_tp_call_remove_preview_video")
-  (return-type "none")
-  (parameters
-    '("guint" "preview_video_socket_id")
-  )
-)
-
-(define-method add_output_video
-  (of-object "EmpathyTpCall")
-  (c-name "empathy_tp_call_add_output_video")
-  (return-type "none")
-  (parameters
-    '("guint" "output_video_socket_id")
-  )
-)
-
-(define-method set_output_volume
-  (of-object "EmpathyTpCall")
-  (c-name "empathy_tp_call_set_output_volume")
-  (return-type "none")
-  (parameters
-    '("guint" "volume")
-  )
-)
-
-(define-method mute_output
-  (of-object "EmpathyTpCall")
-  (c-name "empathy_tp_call_mute_output")
-  (return-type "none")
-  (parameters
-    '("gboolean" "is_muted")
-  )
-)
-
-(define-method mute_input
-  (of-object "EmpathyTpCall")
-  (c-name "empathy_tp_call_mute_input")
-  (return-type "none")
-  (parameters
-    '("gboolean" "is_muted")
-  )
-)
-
-
-
-;; From empathy-tp-chat.h
-
-(define-function empathy_tp_chat_get_type
-  (c-name "empathy_tp_chat_get_type")
-  (return-type "GType")
+
+;; From empathy-tp-chat.h
+
+(define-function empathy_tp_chat_get_type
+  (c-name "empathy_tp_chat_get_type")
+  (return-type "GType")
 )
 
 (define-function empathy_tp_chat_new
   (return-type "TpChan*")
 )
 
-(define-method get_pendings
-  (of-object "EmpathyTpChat")
-  (c-name "empathy_tp_chat_get_pendings")
-  (return-type "GList*")
-)
-
 (define-method send
   (of-object "EmpathyTpChat")
   (c-name "empathy_tp_chat_send")
   (return-type "const-gchar*")
 )
 
+(define-method set_property
+  (of-object "EmpathyTpChat")
+  (c-name "empathy_tp_chat_set_property")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "name")
+    '("const-GValue*" "value")
+  )
+)
+
 
 
 ;; From empathy-tp-chatroom.h
   (return-type "none")
 )
 
-;; From empathy-tp-contact-factory.h
 
-(define-function empathy_tp_contact_factory_get_type
-  (c-name "empathy_tp_contact_factory_get_type")
+
+;; From empathy-tp-roomlist.h
+
+(define-function empathy_tp_roomlist_get_type
+  (c-name "empathy_tp_roomlist_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_tp_contact_factory_new
-  (c-name "empathy_tp_contact_factory_new")
-  (is-constructor-of "EmpathyTpContactFactory")
-  (return-type "EmpathyTpContactFactory*")
+(define-function empathy_tp_roomlist_new
+  (c-name "empathy_tp_roomlist_new")
+  (is-constructor-of "EmpathyTpRoomlist")
+  (return-type "EmpathyTpRoomlist*")
   (parameters
     '("McAccount*" "account")
   )
 )
 
-(define-method get_user
-  (of-object "EmpathyTpContactFactory")
-  (c-name "empathy_tp_contact_factory_get_user")
-  (return-type "EmpathyContact*")
+(define-method is_listing
+  (of-object "EmpathyTpRoomlist")
+  (c-name "empathy_tp_roomlist_is_listing")
+  (return-type "gboolean")
 )
 
-(define-method get_from_id
-  (of-object "EmpathyTpContactFactory")
-  (c-name "empathy_tp_contact_factory_get_from_id")
-  (return-type "EmpathyContact*")
+(define-method start
+  (of-object "EmpathyTpRoomlist")
+  (c-name "empathy_tp_roomlist_start")
+  (return-type "none")
+)
+
+(define-method stop
+  (of-object "EmpathyTpRoomlist")
+  (c-name "empathy_tp_roomlist_stop")
+  (return-type "none")
+)
+
+
+
+;; From empathy-tp-call.h
+
+(define-function empathy_tp_call_get_type
+  (c-name "empathy_tp_call_get_type")
+  (return-type "GType")
+)
+
+(define-function empathy_tp_call_new
+  (c-name "empathy_tp_call_new")
+  (is-constructor-of "EmpathyTpCall")
+  (return-type "EmpathyTpCall*")
   (parameters
-    '("const-gchar*" "id")
+    '("TpConn*" "connection")
+    '("TpChan*" "channel")
   )
 )
 
-(define-method get_from_handle
-  (of-object "EmpathyTpContactFactory")
-  (c-name "empathy_tp_contact_factory_get_from_handle")
-  (return-type "EmpathyContact*")
+(define-method accept_incoming_call
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_accept_incoming_call")
+  (return-type "none")
+)
+
+(define-method close_channel
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_close_channel")
+  (return-type "none")
+)
+
+(define-method request_video_stream_direction
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_request_video_stream_direction")
+  (return-type "none")
   (parameters
-    '("guint" "handle")
+    '("gboolean" "is_sending")
   )
 )
 
-(define-method get_from_handles
-  (of-object "EmpathyTpContactFactory")
-  (c-name "empathy_tp_contact_factory_get_from_handles")
-  (return-type "GList*")
+(define-method add_preview_video
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_add_preview_video")
+  (return-type "none")
   (parameters
-    '("GArray*" "handles")
+    '("guint" "preview_video_socket_id")
   )
 )
 
-(define-method set_alias
-  (of-object "EmpathyTpContactFactory")
-  (c-name "empathy_tp_contact_factory_set_alias")
+(define-method remove_preview_video
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_remove_preview_video")
   (return-type "none")
   (parameters
-    '("EmpathyContact*" "contact")
-    '("const-gchar*" "alias")
+    '("guint" "preview_video_socket_id")
   )
 )
 
-(define-method set_avatar
-  (of-object "EmpathyTpContactFactory")
-  (c-name "empathy_tp_contact_factory_set_avatar")
+(define-method add_output_video
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_add_output_video")
   (return-type "none")
   (parameters
-    '("const-gchar*" "data")
-    '("gsize" "size")
-    '("const-gchar*" "mime_type")
+    '("guint" "output_video_socket_id")
   )
 )
 
-
-
-;; From empathy-tp-contact-list.h
-
-(define-function empathy_tp_contact_list_get_type
-  (c-name "empathy_tp_contact_list_get_type")
-  (return-type "GType")
+(define-method set_output_volume
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_set_output_volume")
+  (return-type "none")
+  (parameters
+    '("guint" "volume")
+  )
 )
 
-(define-function empathy_tp_contact_list_new
-  (c-name "empathy_tp_contact_list_new")
-  (is-constructor-of "EmpathyTpContactList")
-  (return-type "EmpathyTpContactList*")
+(define-method mute_output
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_mute_output")
+  (return-type "none")
   (parameters
-    '("McAccount*" "account")
+    '("gboolean" "is_muted")
   )
 )
 
-(define-method get_account
-  (of-object "EmpathyTpContactList")
-  (c-name "empathy_tp_contact_list_get_account")
-  (return-type "McAccount*")
+(define-method mute_input
+  (of-object "EmpathyTpCall")
+  (c-name "empathy_tp_call_mute_input")
+  (return-type "none")
+  (parameters
+    '("gboolean" "is_muted")
+  )
 )
 
 
 
-;; From empathy-tp-group.h
+;; From empathy-chandler.h
 
-(define-function empathy_tp_group_get_type
-  (c-name "empathy_tp_group_get_type")
+(define-function empathy_chandler_get_type
+  (c-name "empathy_chandler_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_tp_group_new
-  (c-name "empathy_tp_group_new")
-  (is-constructor-of "EmpathyTpGroup")
-  (return-type "EmpathyTpGroup*")
+(define-function empathy_chandler_new
+  (c-name "empathy_chandler_new")
+  (is-constructor-of "EmpathyChandler")
+  (return-type "EmpathyChandler*")
   (parameters
-    '("McAccount*" "account")
-    '("TpChan*" "tp_chan")
+    '("const-gchar*" "bus_name")
+    '("const-gchar*" "object_path")
   )
 )
 
-(define-method close
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_close")
-  (return-type "none")
-)
 
-(define-method add_members
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_add_members")
-  (return-type "none")
-  (parameters
-    '("GList*" "contacts")
-    '("const-gchar*" "message")
-  )
-)
 
-(define-method add_member
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_add_member")
-  (return-type "none")
-  (parameters
-    '("EmpathyContact*" "contact")
-    '("const-gchar*" "message")
-  )
+;; From empathy-filter.h
+
+(define-function empathy_filter_get_type
+  (c-name "empathy_filter_get_type")
+  (return-type "GType")
 )
 
-(define-method remove_members
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_remove_members")
-  (return-type "none")
+(define-function empathy_filter_new
+  (c-name "empathy_filter_new")
+  (is-constructor-of "EmpathyFilter")
+  (return-type "EmpathyFilter*")
   (parameters
-    '("GList*" "contacts")
-    '("const-gchar*" "message")
+    '("const-gchar*" "bus_name")
+    '("const-gchar*" "object_path")
+    '("const-gchar*" "channel_type")
+    '("guint" "priority")
+    '("guint" "flags")
   )
 )
 
-(define-method remove_member
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_remove_member")
+(define-method process
+  (of-object "EmpathyFilter")
+  (c-name "empathy_filter_process")
   (return-type "none")
   (parameters
-    '("EmpathyContact*" "contact")
-    '("const-gchar*" "message")
+    '("TpChan*" "tp_chan")
+    '("gboolean" "process")
   )
 )
 
-(define-method get_members
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_get_members")
-  (return-type "GList*")
-)
 
-(define-method get_local_pendings
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_get_local_pendings")
-  (return-type "GList*")
-)
 
-(define-method get_remote_pendings
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_get_remote_pendings")
-  (return-type "GList*")
+;; From empathy-idle.h
+
+(define-function empathy_idle_get_type
+  (c-name "empathy_idle_get_type")
+  (return-type "GType")
 )
 
-(define-method get_name
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_get_name")
-  (return-type "const-gchar*")
+(define-function empathy_idle_new
+  (c-name "empathy_idle_new")
+  (is-constructor-of "EmpathyIdle")
+  (return-type "EmpathyIdle*")
 )
 
-(define-method get_self_contact
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_get_self_contact")
-  (return-type "EmpathyContact*")
+(define-method get_state
+  (of-object "EmpathyIdle")
+  (c-name "empathy_idle_get_state")
+  (return-type "McPresence")
 )
 
-(define-method get_object_path
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_get_object_path")
-  (return-type "const-gchar*")
+(define-method set_state
+  (of-object "EmpathyIdle")
+  (c-name "empathy_idle_set_state")
+  (return-type "none")
+  (parameters
+    '("McPresence" "state")
+  )
 )
 
-(define-method get_channel
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_get_channel")
-  (return-type "TpChan*")
+(define-method get_status
+  (of-object "EmpathyIdle")
+  (c-name "empathy_idle_get_status")
+  (return-type "const-gchar*")
 )
 
-(define-method is_member
-  (of-object "EmpathyTpGroup")
-  (c-name "empathy_tp_group_is_member")
-  (return-type "gboolean")
+(define-method set_status
+  (of-object "EmpathyIdle")
+  (c-name "empathy_idle_set_status")
+  (return-type "none")
   (parameters
-    '("EmpathyContact*" "contact")
+    '("const-gchar*" "status")
   )
 )
 
-(define-function empathy_pending_info_new
-  (c-name "empathy_pending_info_new")
-  (is-constructor-of "EmpathyPendingInfo")
-  (return-type "EmpathyPendingInfo*")
+(define-method get_flash_state
+  (of-object "EmpathyIdle")
+  (c-name "empathy_idle_get_flash_state")
+  (return-type "McPresence")
+)
+
+(define-method set_flash_state
+  (of-object "EmpathyIdle")
+  (c-name "empathy_idle_set_flash_state")
+  (return-type "none")
   (parameters
-    '("EmpathyContact*" "member")
-    '("EmpathyContact*" "actor")
-    '("const-gchar*" "message")
+    '("McPresence" "state")
   )
 )
 
-(define-method free
-  (of-object "EmpathyPendingInfo")
-  (c-name "empathy_pending_info_free")
+(define-method set_presence
+  (of-object "EmpathyIdle")
+  (c-name "empathy_idle_set_presence")
   (return-type "none")
+  (parameters
+    '("McPresence" "state")
+    '("const-gchar*" "status")
+  )
 )
 
-
-
-;; From empathy-tp-roomlist.h
-
-(define-function empathy_tp_roomlist_get_type
-  (c-name "empathy_tp_roomlist_get_type")
-  (return-type "GType")
+(define-method get_auto_away
+  (of-object "EmpathyIdle")
+  (c-name "empathy_idle_get_auto_away")
+  (return-type "gboolean")
 )
 
-(define-function empathy_tp_roomlist_new
-  (c-name "empathy_tp_roomlist_new")
-  (is-constructor-of "EmpathyTpRoomlist")
-  (return-type "EmpathyTpRoomlist*")
+(define-method set_auto_away
+  (of-object "EmpathyIdle")
+  (c-name "empathy_idle_set_auto_away")
+  (return-type "none")
   (parameters
-    '("McAccount*" "account")
+    '("gboolean" "auto_away")
   )
 )
 
-(define-method is_listing
-  (of-object "EmpathyTpRoomlist")
-  (c-name "empathy_tp_roomlist_is_listing")
+(define-method get_use_nm
+  (of-object "EmpathyIdle")
+  (c-name "empathy_idle_get_use_nm")
   (return-type "gboolean")
 )
 
-(define-method start
-  (of-object "EmpathyTpRoomlist")
-  (c-name "empathy_tp_roomlist_start")
+(define-method set_use_nm
+  (of-object "EmpathyIdle")
+  (c-name "empathy_idle_set_use_nm")
   (return-type "none")
+  (parameters
+    '("gboolean" "use_nm")
+  )
+)
+
+
+
+;; From empathy-log-manager.h
+
+(define-function empathy_log_manager_get_type
+  (c-name "empathy_log_manager_get_type")
+  (return-type "GType")
+)
+
+(define-function empathy_log_manager_new
+  (c-name "empathy_log_manager_new")
+  (is-constructor-of "EmpathyLogManager")
+  (return-type "EmpathyLogManager*")
 )
 
-(define-method stop
-  (of-object "EmpathyTpRoomlist")
-  (c-name "empathy_tp_roomlist_stop")
+(define-method add_message
+  (of-object "EmpathyLogManager")
+  (c-name "empathy_log_manager_add_message")
   (return-type "none")
+  (parameters
+    '("const-gchar*" "chat_id")
+    '("gboolean" "chatroom")
+    '("EmpathyMessage*" "message")
+  )
 )
 
-
-
-;; From empathy-utils.h
-
-(define-function empathy_substring
-  (c-name "empathy_substring")
-  (return-type "gchar*")
+(define-method exists
+  (of-object "EmpathyLogManager")
+  (c-name "empathy_log_manager_exists")
+  (return-type "gboolean")
   (parameters
-    '("const-gchar*" "str")
-    '("gint" "start")
-    '("gint" "end")
+    '("McAccount*" "account")
+    '("const-gchar*" "chat_id")
+    '("gboolean" "chatroom")
   )
 )
 
-(define-function empathy_regex_match
-  (c-name "empathy_regex_match")
-  (return-type "gint")
+(define-method get_dates
+  (of-object "EmpathyLogManager")
+  (c-name "empathy_log_manager_get_dates")
+  (return-type "GList*")
   (parameters
-    '("EmpathyRegExType" "type")
-    '("const-gchar*" "msg")
-    '("GArray*" "start")
-    '("GArray*" "end")
+    '("McAccount*" "account")
+    '("const-gchar*" "chat_id")
+    '("gboolean" "chatroom")
   )
 )
 
-(define-function empathy_strcasecmp
-  (c-name "empathy_strcasecmp")
-  (return-type "gint")
+(define-method get_messages_for_file
+  (of-object "EmpathyLogManager")
+  (c-name "empathy_log_manager_get_messages_for_file")
+  (return-type "GList*")
   (parameters
-    '("const-gchar*" "s1")
-    '("const-gchar*" "s2")
+    '("const-gchar*" "filename")
   )
 )
 
-(define-function empathy_strncasecmp
-  (c-name "empathy_strncasecmp")
-  (return-type "gint")
+(define-method get_messages_for_date
+  (of-object "EmpathyLogManager")
+  (c-name "empathy_log_manager_get_messages_for_date")
+  (return-type "GList*")
   (parameters
-    '("const-gchar*" "s1")
-    '("const-gchar*" "s2")
-    '("gsize" "n")
+    '("McAccount*" "account")
+    '("const-gchar*" "chat_id")
+    '("gboolean" "chatroom")
+    '("const-gchar*" "date")
   )
 )
 
-(define-function empathy_xml_validate
-  (c-name "empathy_xml_validate")
-  (return-type "gboolean")
+(define-method get_last_messages
+  (of-object "EmpathyLogManager")
+  (c-name "empathy_log_manager_get_last_messages")
+  (return-type "GList*")
   (parameters
-    '("xmlDoc*" "doc")
-    '("const-gchar*" "dtd_filename")
+    '("McAccount*" "account")
+    '("const-gchar*" "chat_id")
+    '("gboolean" "chatroom")
   )
 )
 
-(define-function empathy_xml_node_get_child
-  (c-name "empathy_xml_node_get_child")
-  (return-type "xmlNodePtr")
+(define-method get_messages_for_file
+  (of-object "EmpathyLogManager")
+  (c-name "empathy_log_manager_get_messages_for_file")
+  (return-type "GList*")
   (parameters
-    '("xmlNodePtr" "node")
-    '("const-gchar*" "child_name")
+    '("const-gchar*" "filename")
   )
 )
 
-(define-function empathy_xml_node_get_child_content
-  (c-name "empathy_xml_node_get_child_content")
-  (return-type "xmlChar*")
+(define-method get_chats
+  (of-object "EmpathyLogManager")
+  (c-name "empathy_log_manager_get_chats")
+  (return-type "GList*")
   (parameters
-    '("xmlNodePtr" "node")
-    '("const-gchar*" "child_name")
+    '("McAccount*" "account")
   )
 )
 
-(define-function empathy_xml_node_find_child_prop_value
-  (c-name "empathy_xml_node_find_child_prop_value")
-  (return-type "xmlNodePtr")
+(define-method search_new
+  (of-object "EmpathyLogManager")
+  (c-name "empathy_log_manager_search_new")
+  (return-type "GList*")
   (parameters
-    '("xmlNodePtr" "node")
-    '("const-gchar*" "prop_name")
-    '("const-gchar*" "prop_value")
+    '("const-gchar*" "text")
   )
 )
 
-(define-function empathy_account_hash
-  (c-name "empathy_account_hash")
-  (return-type "guint")
+(define-function empathy_log_manager_search_free
+  (c-name "empathy_log_manager_search_free")
+  (return-type "none")
   (parameters
-    '("gconstpointer" "key")
+    '("GList*" "hits")
   )
 )
 
-(define-function empathy_account_equal
-  (c-name "empathy_account_equal")
-  (return-type "gboolean")
+(define-function empathy_log_manager_get_date_readable
+  (c-name "empathy_log_manager_get_date_readable")
+  (return-type "gchar*")
   (parameters
-    '("gconstpointer" "a")
-    '("gconstpointer" "b")
+    '("const-gchar*" "date")
   )
 )
 
-(define-function empathy_mission_control_new
-  (c-name "empathy_mission_control_new")
-  (is-constructor-of "EmpathyMissionControl")
-  (return-type "MissionControl*")
+
+
+;; From empathy-irc-network-manager.h
+
+(define-function empathy_irc_network_manager_get_type
+  (c-name "empathy_irc_network_manager_get_type")
+  (return-type "GType")
 )
 
-(define-function empathy_inspect_handle
-  (c-name "empathy_inspect_handle")
-  (return-type "gchar*")
+(define-function empathy_irc_network_manager_new
+  (c-name "empathy_irc_network_manager_new")
+  (is-constructor-of "EmpathyIrcNetworkManager")
+  (return-type "EmpathyIrcNetworkManager*")
   (parameters
-    '("McAccount*" "account")
-    '("guint" "handle")
-    '("guint" "handle_type")
+    '("const-gchar*" "global_file")
+    '("const-gchar*" "user_file")
   )
 )
 
-(define-function empathy_inspect_channel
-  (c-name "empathy_inspect_channel")
-  (return-type "gchar*")
+(define-method add
+  (of-object "EmpathyIrcNetworkManager")
+  (c-name "empathy_irc_network_manager_add")
+  (return-type "none")
   (parameters
-    '("McAccount*" "account")
-    '("TpChan*" "tp_chan")
+    '("EmpathyIrcNetwork*" "network")
   )
 )
 
-(define-function empathy_call_with_contact
-  (c-name "empathy_call_with_contact")
+(define-method remove
+  (of-object "EmpathyIrcNetworkManager")
+  (c-name "empathy_irc_network_manager_remove")
   (return-type "none")
   (parameters
-    '("EmpathyContact*" "contact")
+    '("EmpathyIrcNetwork*" "network")
   )
 )
 
-(define-function empathy_call_with_contact_id
-  (c-name "empathy_call_with_contact_id")
-  (return-type "none")
+(define-method get_networks
+  (of-object "EmpathyIrcNetworkManager")
+  (c-name "empathy_irc_network_manager_get_networks")
+  (return-type "GSList*")
+)
+
+(define-method find_network_by_address
+  (of-object "EmpathyIrcNetworkManager")
+  (c-name "empathy_irc_network_manager_find_network_by_address")
+  (return-type "EmpathyIrcNetwork*")
   (parameters
-    '("McAccount*" "account")
-    '("const-gchar*" "contact_id")
+    '("const-gchar*" "address")
   )
 )
 
-(define-function empathy_chat_with_contact
-  (c-name "empathy_chat_with_contact")
-  (return-type "none")
+
+
+;; From empathy-irc-network.h
+
+(define-function empathy_irc_network_get_type
+  (c-name "empathy_irc_network_get_type")
+  (return-type "GType")
+)
+
+(define-function empathy_irc_network_new
+  (c-name "empathy_irc_network_new")
+  (is-constructor-of "EmpathyIrcNetwork")
+  (return-type "EmpathyIrcNetwork*")
   (parameters
-    '("EmpathyContact*" "contact")
+    '("const-gchar*" "name")
   )
 )
 
-(define-function empathy_chat_with_contact_id
-  (c-name "empathy_chat_with_contact_id")
+(define-method get_servers
+  (of-object "EmpathyIrcNetwork")
+  (c-name "empathy_irc_network_get_servers")
+  (return-type "GSList*")
+)
+
+(define-method append_server
+  (of-object "EmpathyIrcNetwork")
+  (c-name "empathy_irc_network_append_server")
   (return-type "none")
   (parameters
-    '("McAccount*" "account")
-    '("const-gchar*" "contact_id")
+    '("EmpathyIrcServer*" "server")
   )
 )
 
-(define-function empathy_presence_get_default_message
-  (c-name "empathy_presence_get_default_message")
-  (return-type "const-gchar*")
+(define-method remove_server
+  (of-object "EmpathyIrcNetwork")
+  (c-name "empathy_irc_network_remove_server")
+  (return-type "none")
   (parameters
-    '("McPresence" "presence")
+    '("EmpathyIrcServer*" "server")
   )
 )
 
-(define-function empathy_presence_to_str
-  (c-name "empathy_presence_to_str")
-  (return-type "const-gchar*")
+(define-method set_server_position
+  (of-object "EmpathyIrcNetwork")
+  (c-name "empathy_irc_network_set_server_position")
+  (return-type "none")
   (parameters
-    '("McPresence" "presence")
+    '("EmpathyIrcServer*" "server")
+    '("gint" "pos")
   )
 )
 
-(define-function empathy_presence_from_str
-  (c-name "empathy_presence_from_str")
-  (return-type "McPresence")
+
+
+;; From empathy-irc-server.h
+
+(define-function empathy_irc_server_get_type
+  (c-name "empathy_irc_server_get_type")
+  (return-type "GType")
+)
+
+(define-function empathy_irc_server_new
+  (c-name "empathy_irc_server_new")
+  (is-constructor-of "EmpathyIrcServer")
+  (return-type "EmpathyIrcServer*")
   (parameters
-    '("const-gchar*" "str")
+    '("const-gchar*" "address")
+    '("guint" "port")
+    '("gboolean" "ssl")
   )
 )
 
diff --git a/python/pyempathygtk.patch b/python/pyempathygtk.patch
deleted file mode 100644 (file)
index 754735e..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
---- pyempathygtk.defs  2008-02-10 17:56:26.000000000 +0100
-+++ pyempathygtk/pyempathygtk.defs     2008-02-10 17:57:11.000000000 +0100
-@@ -147,13 +147,6 @@
-   (gtype-id "EMPATHY_TYPE_THEME_MANAGER")
- )
--(define-object Spinner
--  (in-module "Ephy")
--  (parent "GtkWidget")
--  (c-name "EphySpinner")
--  (gtype-id "EPHY_TYPE_SPINNER")
--)
--
- ;; Enumerations and flags ...
- (define-enum ChatViewBlock
-@@ -2112,40 +2105,3 @@
-   (varargs #t)
- )
--
--
--;; From ephy-spinner.h
--
--(define-function ephy_spinner_get_type
--  (c-name "ephy_spinner_get_type")
--  (return-type "GType")
--)
--
--(define-function ephy_spinner_new
--  (c-name "ephy_spinner_new")
--  (is-constructor-of "EphySpinner")
--  (return-type "GtkWidget*")
--)
--
--(define-method start
--  (of-object "EphySpinner")
--  (c-name "ephy_spinner_start")
--  (return-type "none")
--)
--
--(define-method stop
--  (of-object "EphySpinner")
--  (c-name "ephy_spinner_stop")
--  (return-type "none")
--)
--
--(define-method set_size
--  (of-object "EphySpinner")
--  (c-name "ephy_spinner_set_size")
--  (return-type "none")
--  (parameters
--    '("GtkIconSize" "size")
--  )
--)
--
--
index 0ba5ecbc1e292a66489ad4b7b55232b83fd5601f..b27260a88184614260c9c7e7ae78e3de7723feca 100644 (file)
   (gtype-id "EMPATHY_TYPE_CHAT_VIEW")
 )
 
-(define-object ChatWindow
-  (in-module "Empathy")
-  (parent "GObject")
-  (c-name "EmpathyChatWindow")
-  (gtype-id "EMPATHY_TYPE_CHAT_WINDOW")
-)
-
 (define-object Conf
   (in-module "Empathy")
   (parent "GObject")
   (gtype-id "EMPATHY_TYPE_SMILEY_MANAGER")
 )
 
-(define-object StatusIcon
-  (in-module "Empathy")
-  (parent "GObject")
-  (c-name "EmpathyStatusIcon")
-  (gtype-id "EMPATHY_TYPE_STATUS_ICON")
-)
-
 (define-object Theme
   (in-module "Empathy")
   (parent "GObject")
 
 ;; Enumerations and flags ...
 
-(define-enum ChatViewBlock
-  (in-module "Empathy")
-  (c-name "EmpathyChatViewBlock")
-  (gtype-id "EMPATHY_TYPE_CHAT_VIEW_BLOCK")
-  (values
-    '("none" "EMPATHY_CHAT_VIEW_BLOCK_NONE")
-    '("self" "EMPATHY_CHAT_VIEW_BLOCK_SELF")
-    '("other" "EMPATHY_CHAT_VIEW_BLOCK_OTHER")
-    '("event" "EMPATHY_CHAT_VIEW_BLOCK_EVENT")
-    '("time" "EMPATHY_CHAT_VIEW_BLOCK_TIME")
-    '("invite" "EMPATHY_CHAT_VIEW_BLOCK_INVITE")
-  )
-)
-
 (define-enum ContactListStoreSort
   (in-module "Empathy")
   (c-name "EmpathyContactListStoreSort")
 )
 
 
-;; From empathy-about-dialog.h
-
-(define-function empathy_about_dialog_new
-  (c-name "empathy_about_dialog_new")
-  (return-type "none")
-  (parameters
-    '("GtkWindow*" "parent")
-  )
-)
+;; From empathy-images.h
 
 
 
 
 
 
-;; From empathy-accounts-dialog.h
-
-(define-function empathy_accounts_dialog_show
-  (c-name "empathy_accounts_dialog_show")
-  (return-type "GtkWidget*")
-  (parameters
-    '("GtkWindow*" "parent")
-  )
-)
-
-
-
-;; From empathy-account-widget.h
-
-(define-function empathy_account_widget_handle_params
-  (c-name "empathy_account_widget_handle_params")
-  (return-type "none")
-  (parameters
-    '("McAccount*" "account")
-    '("GladeXML*" "glade")
-    '("const-gchar*" "first_widget_name")
-  )
-  (varargs #t)
-)
-
-(define-function empathy_account_widget_add_forget_button
-  (c-name "empathy_account_widget_add_forget_button")
-  (return-type "none")
-  (parameters
-    '("McAccount*" "account")
-    '("GladeXML*" "glade")
-    '("const-gchar*" "button")
-    '("const-gchar*" "entry")
-  )
-)
-
-(define-function empathy_account_widget_generic_new
-  (c-name "empathy_account_widget_generic_new")
-  (is-constructor-of "EmpathyAccountWidgetGeneric")
-  (return-type "GtkWidget*")
-  (parameters
-    '("McAccount*" "account")
-  )
-)
-
-(define-function empathy_account_widget_salut_new
-  (c-name "empathy_account_widget_salut_new")
-  (is-constructor-of "EmpathyAccountWidgetSalut")
-  (return-type "GtkWidget*")
-  (parameters
-    '("McAccount*" "account")
-  )
-)
-
-(define-function empathy_account_widget_msn_new
-  (c-name "empathy_account_widget_msn_new")
-  (is-constructor-of "EmpathyAccountWidgetMsn")
-  (return-type "GtkWidget*")
-  (parameters
-    '("McAccount*" "account")
-  )
-)
-
-(define-function empathy_account_widget_jabber_new
-  (c-name "empathy_account_widget_jabber_new")
-  (is-constructor-of "EmpathyAccountWidgetJabber")
-  (return-type "GtkWidget*")
-  (parameters
-    '("McAccount*" "account")
-  )
-)
-
-(define-function empathy_account_widget_icq_new
-  (c-name "empathy_account_widget_icq_new")
-  (is-constructor-of "EmpathyAccountWidgetIcq")
-  (return-type "GtkWidget*")
-  (parameters
-    '("McAccount*" "account")
-  )
-)
-
-(define-function empathy_account_widget_yahoo_new
-  (c-name "empathy_account_widget_yahoo_new")
-  (is-constructor-of "EmpathyAccountWidgetYahoo")
-  (return-type "GtkWidget*")
-  (parameters
-    '("McAccount*" "account")
-  )
-)
-
-
-
-;; From empathy-account-widget-irc.h
-
-(define-function empathy_account_widget_irc_new
-  (c-name "empathy_account_widget_irc_new")
-  (is-constructor-of "EmpathyAccountWidgetIrc")
-  (return-type "GtkWidget*")
-  (parameters
-    '("McAccount*" "account")
-  )
-)
-
-
-
-;; From empathy-avatar-chooser.h
-
-(define-function empathy_avatar_chooser_get_type
-  (c-name "empathy_avatar_chooser_get_type")
-  (return-type "GType")
-)
-
-(define-function empathy_avatar_chooser_new
-  (c-name "empathy_avatar_chooser_new")
-  (is-constructor-of "EmpathyAvatarChooser")
-  (return-type "GtkWidget*")
-)
-
-(define-method set
-  (of-object "EmpathyAvatarChooser")
-  (c-name "empathy_avatar_chooser_set")
-  (return-type "none")
-  (parameters
-    '("EmpathyAvatar*" "avatar")
-  )
-)
-
-(define-method get_image_data
-  (of-object "EmpathyAvatarChooser")
-  (c-name "empathy_avatar_chooser_get_image_data")
-  (return-type "none")
-  (parameters
-    '("const-gchar**" "data")
-    '("gsize*" "data_size")
-    '("const-gchar**" "mime_type")
-  )
-)
-
-
-
-;; From empathy-avatar-image.h
-
-(define-function empathy_avatar_image_get_type
-  (c-name "empathy_avatar_image_get_type")
-  (return-type "GType")
-)
-
-(define-function empathy_avatar_image_new
-  (c-name "empathy_avatar_image_new")
-  (is-constructor-of "EmpathyAvatarImage")
-  (return-type "GtkWidget*")
-)
-
-(define-method set
-  (of-object "EmpathyAvatarImage")
-  (c-name "empathy_avatar_image_set")
-  (return-type "none")
-  (parameters
-    '("EmpathyAvatar*" "avatar")
-  )
-)
-
-
-
-;; From empathy-call-window.h
-
-(define-function empathy_call_window_new
-  (c-name "empathy_call_window_new")
-  (is-constructor-of "EmpathyCallWindow")
-  (return-type "GtkWidget*")
-  (parameters
-    '("EmpathyTpCall*" "call")
-  )
-)
-
-
-
-;; From empathy-cell-renderer-activatable.h
-
-(define-function empathy_cell_renderer_activatable_get_type
-  (c-name "empathy_cell_renderer_activatable_get_type")
-  (return-type "GType")
-)
-
-(define-function empathy_cell_renderer_activatable_new
-  (c-name "empathy_cell_renderer_activatable_new")
-  (is-constructor-of "EmpathyCellRendererActivatable")
-  (return-type "GtkCellRenderer*")
-)
-
-
-
-;; From empathy-cell-renderer-expander.h
-
-(define-function empathy_cell_renderer_expander_get_type
-  (c-name "empathy_cell_renderer_expander_get_type")
-  (return-type "GType")
-)
-
-(define-function empathy_cell_renderer_expander_new
-  (c-name "empathy_cell_renderer_expander_new")
-  (is-constructor-of "EmpathyCellRendererExpander")
-  (return-type "GtkCellRenderer*")
-)
-
-
-
-;; From empathy-cell-renderer-text.h
-
-(define-function empathy_cell_renderer_text_get_type
-  (c-name "empathy_cell_renderer_text_get_type")
-  (return-type "GType")
-)
-
-(define-function empathy_cell_renderer_text_new
-  (c-name "empathy_cell_renderer_text_new")
-  (is-constructor-of "EmpathyCellRendererText")
-  (return-type "GtkCellRenderer*")
-)
-
-
-
 ;; From empathy-chat.h
 
 (define-function empathy_chat_get_type
   (return-type "EmpathyChatView*")
 )
 
-(define-method get_window
-  (of-object "EmpathyChat")
-  (c-name "empathy_chat_get_window")
-  (return-type "EmpathyChatWindow*")
-)
-
-(define-method set_window
-  (of-object "EmpathyChat")
-  (c-name "empathy_chat_set_window")
-  (return-type "none")
-  (parameters
-    '("EmpathyChatWindow*" "window")
-  )
-)
-
 (define-method present
   (of-object "EmpathyChat")
   (c-name "empathy_chat_present")
 
 
 
-;; From empathy-chatrooms-window.h
+;; From empathy-irc-network-dialog.h
 
-(define-function empathy_chatrooms_window_show
-  (c-name "empathy_chatrooms_window_show")
-  (return-type "none")
+(define-method dialog_show
+  (of-object "EmpathyIrcNetwork")
+  (c-name "empathy_irc_network_dialog_show")
+  (return-type "GtkWidget*")
   (parameters
-    '("GtkWindow*" "parent")
+    '("GtkWidget*" "parent")
   )
 )
 
 
 
-;; From empathy-chat-view.h
+;; From empathy-spell-dialog.h
+
+(define-function empathy_spell_dialog_show
+  (c-name "empathy_spell_dialog_show")
+  (return-type "none")
+  (parameters
+    '("EmpathyChat*" "chat")
+    '("GtkTextIter" "start")
+    '("GtkTextIter" "end")
+    '("const-gchar*" "word")
+  )
+)
+
+
+
+;; From empathy-accounts-dialog.h
+
+(define-function empathy_accounts_dialog_show
+  (c-name "empathy_accounts_dialog_show")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkWindow*" "parent")
+  )
+)
+
+
+
+;; From empathy-chat-view.h
 
 (define-function empathy_chat_view_get_type
   (c-name "empathy_chat_view_get_type")
   )
 )
 
-(define-method get_last_block_type
-  (of-object "EmpathyChatView")
-  (c-name "empathy_chat_view_get_last_block_type")
-  (return-type "EmpathyChatViewBlock")
-)
-
-(define-method set_last_block_type
-  (of-object "EmpathyChatView")
-  (c-name "empathy_chat_view_set_last_block_type")
-  (return-type "none")
-  (parameters
-    '("EmpathyChatViewBlock" "block_type")
-  )
-)
-
 (define-method get_last_contact
   (of-object "EmpathyChatView")
   (c-name "empathy_chat_view_get_last_contact")
   (return-type "EmpathyContact*")
 )
 
-(define-method set_last_contact
-  (of-object "EmpathyChatView")
-  (c-name "empathy_chat_view_set_last_contact")
-  (return-type "none")
+(define-function empathy_chat_view_get_avatar_pixbuf_with_cache
+  (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
+  (return-type "GdkPixbuf*")
   (parameters
     '("EmpathyContact*" "contact")
   )
 )
 
-(define-function empathy_chat_view_get_avatar_pixbuf_with_cache
-  (c-name "empathy_chat_view_get_avatar_pixbuf_with_cache")
-  (return-type "GdkPixbuf*")
+
+
+;; From empathy-log-window.h
+
+(define-function empathy_log_window_show
+  (c-name "empathy_log_window_show")
+  (return-type "GtkWidget*")
   (parameters
-    '("EmpathyContact*" "contact")
+    '("McAccount*" "account")
+    '("const-gchar*" "chat_id")
+    '("gboolean" "chatroom")
+    '("GtkWindow*" "parent")
   )
 )
 
 
 
-;; From empathy-chat-window.h
+;; From empathy-theme-boxes.h
 
-(define-function empathy_chat_window_get_type
-  (c-name "empathy_chat_window_get_type")
+(define-function empathy_theme_boxes_get_type
+  (c-name "empathy_theme_boxes_get_type")
   (return-type "GType")
 )
 
-(define-function empathy_chat_window_get_default
-  (c-name "empathy_chat_window_get_default")
-  (return-type "EmpathyChatWindow*")
-)
 
-(define-function empathy_chat_window_new
-  (c-name "empathy_chat_window_new")
-  (is-constructor-of "EmpathyChatWindow")
-  (return-type "EmpathyChatWindow*")
-)
 
-(define-method get_dialog
-  (of-object "EmpathyChatWindow")
-  (c-name "empathy_chat_window_get_dialog")
-  (return-type "GtkWidget*")
-)
+;; From empathy-account-widget.h
 
-(define-method add_chat
-  (of-object "EmpathyChatWindow")
-  (c-name "empathy_chat_window_add_chat")
+(define-function empathy_account_widget_handle_params
+  (c-name "empathy_account_widget_handle_params")
   (return-type "none")
   (parameters
-    '("EmpathyChat*" "chat")
+    '("McAccount*" "account")
+    '("GladeXML*" "glade")
+    '("const-gchar*" "first_widget_name")
   )
+  (varargs #t)
 )
 
-(define-method remove_chat
-  (of-object "EmpathyChatWindow")
-  (c-name "empathy_chat_window_remove_chat")
+(define-function empathy_account_widget_add_forget_button
+  (c-name "empathy_account_widget_add_forget_button")
   (return-type "none")
   (parameters
-    '("EmpathyChat*" "chat")
+    '("McAccount*" "account")
+    '("GladeXML*" "glade")
+    '("const-gchar*" "button")
+    '("const-gchar*" "entry")
   )
 )
 
-(define-method move_chat
-  (of-object "EmpathyChatWindow")
-  (c-name "empathy_chat_window_move_chat")
-  (return-type "none")
+(define-function empathy_account_widget_generic_new
+  (c-name "empathy_account_widget_generic_new")
+  (is-constructor-of "EmpathyAccountWidgetGeneric")
+  (return-type "GtkWidget*")
   (parameters
-    '("EmpathyChatWindow*" "new_window")
-    '("EmpathyChat*" "chat")
+    '("McAccount*" "account")
   )
 )
 
-(define-method switch_to_chat
-  (of-object "EmpathyChatWindow")
-  (c-name "empathy_chat_window_switch_to_chat")
-  (return-type "none")
+(define-function empathy_account_widget_salut_new
+  (c-name "empathy_account_widget_salut_new")
+  (is-constructor-of "EmpathyAccountWidgetSalut")
+  (return-type "GtkWidget*")
   (parameters
-    '("EmpathyChat*" "chat")
+    '("McAccount*" "account")
   )
 )
 
-(define-method has_focus
-  (of-object "EmpathyChatWindow")
-  (c-name "empathy_chat_window_has_focus")
-  (return-type "gboolean")
+(define-function empathy_account_widget_msn_new
+  (c-name "empathy_account_widget_msn_new")
+  (is-constructor-of "EmpathyAccountWidgetMsn")
+  (return-type "GtkWidget*")
+  (parameters
+    '("McAccount*" "account")
+  )
+)
+
+(define-function empathy_account_widget_jabber_new
+  (c-name "empathy_account_widget_jabber_new")
+  (is-constructor-of "EmpathyAccountWidgetJabber")
+  (return-type "GtkWidget*")
+  (parameters
+    '("McAccount*" "account")
+  )
+)
+
+(define-function empathy_account_widget_icq_new
+  (c-name "empathy_account_widget_icq_new")
+  (is-constructor-of "EmpathyAccountWidgetIcq")
+  (return-type "GtkWidget*")
+  (parameters
+    '("McAccount*" "account")
+  )
 )
 
-(define-function empathy_chat_window_find_chat
-  (c-name "empathy_chat_window_find_chat")
-  (return-type "EmpathyChat*")
+(define-function empathy_account_widget_yahoo_new
+  (c-name "empathy_account_widget_yahoo_new")
+  (is-constructor-of "EmpathyAccountWidgetYahoo")
+  (return-type "GtkWidget*")
   (parameters
     '("McAccount*" "account")
-    '("const-gchar*" "id")
   )
 )
 
 
 
 
-;; From empathy-contact-dialogs.h
+;; From empathy-theme.h
 
-(define-function empathy_subscription_dialog_show
-  (c-name "empathy_subscription_dialog_show")
+(define-function empathy_theme_get_type
+  (c-name "empathy_theme_get_type")
+  (return-type "GType")
+)
+
+(define-method update_view
+  (of-object "EmpathyTheme")
+  (c-name "empathy_theme_update_view")
   (return-type "none")
   (parameters
-    '("EmpathyContact*" "contact")
-    '("GtkWindow*" "parent")
+    '("EmpathyChatView*" "view")
   )
 )
 
-(define-method information_dialog_show
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_information_dialog_show")
+(define-method append_message
+  (of-object "EmpathyTheme")
+  (c-name "empathy_theme_append_message")
   (return-type "none")
   (parameters
-    '("GtkWindow*" "parent")
-    '("gboolean" "edit")
-    '("gboolean" "is_user")
+    '("EmpathyChatView*" "view")
+    '("EmpathyMessage*" "msg")
   )
 )
 
-(define-function empathy_new_contact_dialog_show
-  (c-name "empathy_new_contact_dialog_show")
+(define-method append_text
+  (of-object "EmpathyTheme")
+  (c-name "empathy_theme_append_text")
   (return-type "none")
   (parameters
-    '("GtkWindow*" "parent")
+    '("EmpathyChatView*" "view")
+    '("const-gchar*" "body")
+    '("const-gchar*" "tag")
+    '("const-gchar*" "link_tag")
   )
 )
 
-
-
-;; From empathy-contact-list-store.h
-
-(define-function empathy_contact_list_store_get_type
-  (c-name "empathy_contact_list_store_get_type")
-  (return-type "GType")
-)
-
-(define-method store_new
-  (of-object "EmpathyContactList")
-  (c-name "empathy_contact_list_store_new")
-  (return-type "EmpathyContactListStore*")
+(define-method append_spacing
+  (of-object "EmpathyTheme")
+  (c-name "empathy_theme_append_spacing")
+  (return-type "none")
+  (parameters
+    '("EmpathyChatView*" "view")
+  )
 )
 
-(define-method get_list_iface
-  (of-object "EmpathyContactListStore")
-  (c-name "empathy_contact_list_store_get_list_iface")
-  (return-type "EmpathyContactList*")
+(define-method append_event
+  (of-object "EmpathyTheme")
+  (c-name "empathy_theme_append_event")
+  (return-type "none")
+  (parameters
+    '("EmpathyChatView*" "view")
+    '("const-gchar*" "str")
+  )
 )
 
-(define-method get_show_offline
-  (of-object "EmpathyContactListStore")
-  (c-name "empathy_contact_list_store_get_show_offline")
-  (return-type "gboolean")
+(define-method append_timestamp
+  (of-object "EmpathyTheme")
+  (c-name "empathy_theme_append_timestamp")
+  (return-type "none")
+  (parameters
+    '("EmpathyChatView*" "view")
+    '("EmpathyMessage*" "message")
+    '("gboolean" "show_date")
+    '("gboolean" "show_time")
+  )
 )
 
-(define-method set_show_offline
-  (of-object "EmpathyContactListStore")
-  (c-name "empathy_contact_list_store_set_show_offline")
+(define-method maybe_append_date_and_time
+  (of-object "EmpathyTheme")
+  (c-name "empathy_theme_maybe_append_date_and_time")
   (return-type "none")
   (parameters
-    '("gboolean" "show_offline")
+    '("EmpathyChatView*" "view")
+    '("EmpathyMessage*" "message")
   )
 )
 
 (define-method get_show_avatars
-  (of-object "EmpathyContactListStore")
-  (c-name "empathy_contact_list_store_get_show_avatars")
+  (of-object "EmpathyTheme")
+  (c-name "empathy_theme_get_show_avatars")
   (return-type "gboolean")
 )
 
 (define-method set_show_avatars
-  (of-object "EmpathyContactListStore")
-  (c-name "empathy_contact_list_store_set_show_avatars")
+  (of-object "EmpathyTheme")
+  (c-name "empathy_theme_set_show_avatars")
   (return-type "none")
   (parameters
-    '("gboolean" "show_avatars")
+    '("gboolean" "show")
   )
 )
 
-(define-method get_show_groups
-  (of-object "EmpathyContactListStore")
-  (c-name "empathy_contact_list_store_get_show_groups")
-  (return-type "gboolean")
-)
 
-(define-method set_show_groups
-  (of-object "EmpathyContactListStore")
-  (c-name "empathy_contact_list_store_set_show_groups")
-  (return-type "none")
+
+;; From empathy-account-widget-irc.h
+
+(define-function empathy_account_widget_irc_new
+  (c-name "empathy_account_widget_irc_new")
+  (is-constructor-of "EmpathyAccountWidgetIrc")
+  (return-type "GtkWidget*")
   (parameters
-    '("gboolean" "show_groups")
+    '("McAccount*" "account")
   )
 )
 
-(define-method get_is_compact
-  (of-object "EmpathyContactListStore")
-  (c-name "empathy_contact_list_store_get_is_compact")
-  (return-type "gboolean")
-)
 
-(define-method set_is_compact
-  (of-object "EmpathyContactListStore")
-  (c-name "empathy_contact_list_store_set_is_compact")
+
+;; From empathy-contact-dialogs.h
+
+(define-function empathy_subscription_dialog_show
+  (c-name "empathy_subscription_dialog_show")
   (return-type "none")
   (parameters
-    '("gboolean" "is_compact")
-  )
+    '("EmpathyContact*" "contact")
+    '("GtkWindow*" "parent")
+  )
+)
+
+(define-method information_dialog_show
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_information_dialog_show")
+  (return-type "none")
+  (parameters
+    '("GtkWindow*" "parent")
+    '("gboolean" "edit")
+    '("gboolean" "is_user")
+  )
+)
+
+(define-function empathy_new_contact_dialog_show
+  (c-name "empathy_new_contact_dialog_show")
+  (return-type "none")
+  (parameters
+    '("GtkWindow*" "parent")
+  )
+)
+
+
+
+;; From empathy-new-message-dialog.h
+
+(define-function empathy_new_message_dialog_show
+  (c-name "empathy_new_message_dialog_show")
+  (return-type "GtkWidget*")
+  (parameters
+    '("GtkWindow*" "parent")
+  )
+)
+
+
+
+;; From empathy-theme-irc.h
+
+(define-function empathy_theme_irc_get_type
+  (c-name "empathy_theme_irc_get_type")
+  (return-type "GType")
+)
+
+
+
+;; From empathy-avatar-chooser.h
+
+(define-function empathy_avatar_chooser_get_type
+  (c-name "empathy_avatar_chooser_get_type")
+  (return-type "GType")
+)
+
+(define-function empathy_avatar_chooser_new
+  (c-name "empathy_avatar_chooser_new")
+  (is-constructor-of "EmpathyAvatarChooser")
+  (return-type "GtkWidget*")
+)
+
+(define-method set
+  (of-object "EmpathyAvatarChooser")
+  (c-name "empathy_avatar_chooser_set")
+  (return-type "none")
+  (parameters
+    '("EmpathyAvatar*" "avatar")
+  )
+)
+
+(define-method get_image_data
+  (of-object "EmpathyAvatarChooser")
+  (c-name "empathy_avatar_chooser_get_image_data")
+  (return-type "none")
+  (parameters
+    '("const-gchar**" "data")
+    '("gsize*" "data_size")
+    '("const-gchar**" "mime_type")
+  )
+)
+
+
+
+;; From empathy-contact-list-store.h
+
+(define-function empathy_contact_list_store_get_type
+  (c-name "empathy_contact_list_store_get_type")
+  (return-type "GType")
+)
+
+(define-method store_new
+  (of-object "EmpathyContactList")
+  (c-name "empathy_contact_list_store_new")
+  (return-type "EmpathyContactListStore*")
+)
+
+(define-method get_list_iface
+  (of-object "EmpathyContactListStore")
+  (c-name "empathy_contact_list_store_get_list_iface")
+  (return-type "EmpathyContactList*")
+)
+
+(define-method get_show_offline
+  (of-object "EmpathyContactListStore")
+  (c-name "empathy_contact_list_store_get_show_offline")
+  (return-type "gboolean")
+)
+
+(define-method set_show_offline
+  (of-object "EmpathyContactListStore")
+  (c-name "empathy_contact_list_store_set_show_offline")
+  (return-type "none")
+  (parameters
+    '("gboolean" "show_offline")
+  )
+)
+
+(define-method get_show_avatars
+  (of-object "EmpathyContactListStore")
+  (c-name "empathy_contact_list_store_get_show_avatars")
+  (return-type "gboolean")
+)
+
+(define-method set_show_avatars
+  (of-object "EmpathyContactListStore")
+  (c-name "empathy_contact_list_store_set_show_avatars")
+  (return-type "none")
+  (parameters
+    '("gboolean" "show_avatars")
+  )
+)
+
+(define-method get_show_groups
+  (of-object "EmpathyContactListStore")
+  (c-name "empathy_contact_list_store_get_show_groups")
+  (return-type "gboolean")
+)
+
+(define-method set_show_groups
+  (of-object "EmpathyContactListStore")
+  (c-name "empathy_contact_list_store_set_show_groups")
+  (return-type "none")
+  (parameters
+    '("gboolean" "show_groups")
+  )
+)
+
+(define-method get_is_compact
+  (of-object "EmpathyContactListStore")
+  (c-name "empathy_contact_list_store_get_is_compact")
+  (return-type "gboolean")
+)
+
+(define-method set_is_compact
+  (of-object "EmpathyContactListStore")
+  (c-name "empathy_contact_list_store_set_is_compact")
+  (return-type "none")
+  (parameters
+    '("gboolean" "is_compact")
+  )
 )
 
 (define-method get_sort_criterium
 
 
 
+;; From empathy-presence-chooser.h
+
+(define-function empathy_presence_chooser_get_type
+  (c-name "empathy_presence_chooser_get_type")
+  (return-type "GType")
+)
+
+(define-function empathy_presence_chooser_new
+  (c-name "empathy_presence_chooser_new")
+  (is-constructor-of "EmpathyPresenceChooser")
+  (return-type "GtkWidget*")
+)
+
+(define-function empathy_presence_chooser_create_menu
+  (c-name "empathy_presence_chooser_create_menu")
+  (return-type "GtkWidget*")
+)
+
+
+
+;; From empathy-theme-manager.h
+
+(define-function empathy_theme_manager_get_type
+  (c-name "empathy_theme_manager_get_type")
+  (return-type "GType")
+)
+
+(define-function empathy_theme_manager_get
+  (c-name "empathy_theme_manager_get")
+  (return-type "EmpathyThemeManager*")
+)
+
+(define-function empathy_theme_manager_get_themes
+  (c-name "empathy_theme_manager_get_themes")
+  (return-type "const-gchar**")
+)
+
+(define-method apply
+  (of-object "EmpathyThemeManager")
+  (c-name "empathy_theme_manager_apply")
+  (return-type "none")
+  (parameters
+    '("EmpathyChatView*" "view")
+    '("const-gchar*" "theme")
+  )
+)
+
+(define-method apply_saved
+  (of-object "EmpathyThemeManager")
+  (c-name "empathy_theme_manager_apply_saved")
+  (return-type "none")
+  (parameters
+    '("EmpathyChatView*" "view")
+  )
+)
+
+
+
+;; From empathy-avatar-image.h
+
+(define-function empathy_avatar_image_get_type
+  (c-name "empathy_avatar_image_get_type")
+  (return-type "GType")
+)
+
+(define-function empathy_avatar_image_new
+  (c-name "empathy_avatar_image_new")
+  (is-constructor-of "EmpathyAvatarImage")
+  (return-type "GtkWidget*")
+)
+
+(define-method set
+  (of-object "EmpathyAvatarImage")
+  (c-name "empathy_avatar_image_set")
+  (return-type "none")
+  (parameters
+    '("EmpathyAvatar*" "avatar")
+  )
+)
+
+
+
 ;; From empathy-contact-list-view.h
 
 (define-function empathy_contact_list_view_get_type
 
 
 
-;; From empathy-contact-widget.h
+;; From empathy-private-chat.h
 
-(define-method widget_new
-  (of-object "EmpathyContact")
-  (c-name "empathy_contact_widget_new")
-  (return-type "GtkWidget*")
-  (parameters
-    '("EmpathyContactWidgetFlags" "flags")
-  )
+(define-function empathy_private_chat_get_type
+  (c-name "empathy_private_chat_get_type")
+  (return-type "GType")
 )
 
-(define-function empathy_contact_widget_get_contact
-  (c-name "empathy_contact_widget_get_contact")
-  (return-type "EmpathyContact*")
-  (parameters
-    '("GtkWidget*" "widget")
-  )
-)
-
-(define-function empathy_contact_widget_set_contact
-  (c-name "empathy_contact_widget_set_contact")
-  (return-type "none")
+(define-function empathy_private_chat_new
+  (c-name "empathy_private_chat_new")
+  (is-constructor-of "EmpathyPrivateChat")
+  (return-type "EmpathyPrivateChat*")
   (parameters
-    '("GtkWidget*" "widget")
-    '("EmpathyContact*" "contact")
+    '("EmpathyTpChat*" "tp_chat")
   )
 )
 
-(define-function empathy_contact_widget_set_account_filter
-  (c-name "empathy_contact_widget_set_account_filter")
-  (return-type "none")
-  (parameters
-    '("GtkWidget*" "widget")
-    '("EmpathyAccountChooserFilterFunc" "filter")
-    '("gpointer" "user_data")
-  )
+(define-method get_contact
+  (of-object "EmpathyPrivateChat")
+  (c-name "empathy_private_chat_get_contact")
+  (return-type "EmpathyContact*")
 )
 
 
 
-;; From empathy-geometry.h
-
-(define-function empathy_geometry_save
-  (c-name "empathy_geometry_save")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "name")
-    '("gint" "x")
-    '("gint" "y")
-    '("gint" "w")
-    '("gint" "h")
-  )
-)
+;; From empathy-ui-utils.h
 
-(define-function empathy_geometry_load
-  (c-name "empathy_geometry_load")
+(define-function empathy_glade_get_file_simple
+  (c-name "empathy_glade_get_file_simple")
   (return-type "none")
   (parameters
-    '("const-gchar*" "name")
-    '("gint*" "x")
-    '("gint*" "y")
-    '("gint*" "w")
-    '("gint*" "h")
+    '("const-gchar*" "filename")
+    '("const-gchar*" "root")
+    '("const-gchar*" "domain")
+    '("const-gchar*" "first_required_widget")
   )
+  (varargs #t)
 )
 
-
-
-;; From empathy-group-chat.h
-
-(define-function empathy_group_chat_get_type
-  (c-name "empathy_group_chat_get_type")
-  (return-type "GType")
-)
-
-(define-function empathy_group_chat_new
-  (c-name "empathy_group_chat_new")
-  (is-constructor-of "EmpathyGroupChat")
-  (return-type "EmpathyGroupChat*")
+(define-function empathy_glade_get_file
+  (c-name "empathy_glade_get_file")
+  (return-type "GladeXML*")
   (parameters
-    '("EmpathyTpChatroom*" "tp_chat")
+    '("const-gchar*" "filename")
+    '("const-gchar*" "root")
+    '("const-gchar*" "domain")
+    '("const-gchar*" "first_required_widget")
   )
+  (varargs #t)
 )
 
-(define-method get_show_contacts
-  (of-object "EmpathyGroupChat")
-  (c-name "empathy_group_chat_get_show_contacts")
-  (return-type "gboolean")
-)
-
-(define-method set_show_contacts
-  (of-object "EmpathyGroupChat")
-  (c-name "empathy_group_chat_set_show_contacts")
+(define-function empathy_glade_connect
+  (c-name "empathy_glade_connect")
   (return-type "none")
   (parameters
-    '("gboolean" "show")
+    '("GladeXML*" "gui")
+    '("gpointer" "user_data")
+    '("gchar*" "first_widget")
   )
+  (varargs #t)
 )
 
-(define-method set_topic
-  (of-object "EmpathyGroupChat")
-  (c-name "empathy_group_chat_set_topic")
+(define-function empathy_glade_setup_size_group
+  (c-name "empathy_glade_setup_size_group")
   (return-type "none")
-)
-
-
-
-;; From empathy-images.h
-
-
-
-;; From empathy-irc-network-dialog.h
-
-(define-method dialog_show
-  (of-object "EmpathyIrcNetwork")
-  (c-name "empathy_irc_network_dialog_show")
-  (return-type "GtkWidget*")
   (parameters
-    '("GtkWidget*" "parent")
+    '("GladeXML*" "gui")
+    '("GtkSizeGroupMode" "mode")
+    '("gchar*" "first_widget")
   )
+  (varargs #t)
 )
 
-
-
-;; From empathy-log-window.h
-
-(define-function empathy_log_window_show
-  (c-name "empathy_log_window_show")
-  (return-type "GtkWidget*")
+(define-function empathy_icon_name_from_account
+  (c-name "empathy_icon_name_from_account")
+  (return-type "const-gchar*")
   (parameters
     '("McAccount*" "account")
-    '("const-gchar*" "chat_id")
-    '("gboolean" "chatroom")
-    '("GtkWindow*" "parent")
   )
 )
 
-
-
-;; From empathy-main-window.h
-
-(define-function empathy_main_window_show
-  (c-name "empathy_main_window_show")
-  (return-type "GtkWidget*")
-)
-
-
-
-;; From empathy-new-chatroom-dialog.h
-
-(define-function empathy_new_chatroom_dialog_show
-  (c-name "empathy_new_chatroom_dialog_show")
-  (return-type "none")
+(define-function empathy_icon_name_for_presence
+  (c-name "empathy_icon_name_for_presence")
+  (return-type "const-gchar*")
   (parameters
-    '("GtkWindow*" "parent")
+    '("McPresence" "presence")
   )
 )
 
-
-
-;; From empathy-new-message-dialog.h
-
-(define-function empathy_new_message_dialog_show
-  (c-name "empathy_new_message_dialog_show")
-  (return-type "GtkWidget*")
+(define-function empathy_icon_name_for_contact
+  (c-name "empathy_icon_name_for_contact")
+  (return-type "const-gchar*")
   (parameters
-    '("GtkWindow*" "parent")
+    '("EmpathyContact*" "contact")
   )
 )
 
-
-
-;; From empathy-preferences.h
-
-(define-function empathy_preferences_show
-  (c-name "empathy_preferences_show")
-  (return-type "GtkWidget*")
+(define-function empathy_pixbuf_from_data
+  (c-name "empathy_pixbuf_from_data")
+  (return-type "GdkPixbuf*")
   (parameters
-    '("GtkWindow*" "parent")
+    '("gchar*" "data")
+    '("gsize" "data_size")
   )
 )
 
-
-
-;; From empathy-presence-chooser.h
-
-(define-function empathy_presence_chooser_get_type
-  (c-name "empathy_presence_chooser_get_type")
-  (return-type "GType")
-)
-
-(define-function empathy_presence_chooser_new
-  (c-name "empathy_presence_chooser_new")
-  (is-constructor-of "EmpathyPresenceChooser")
-  (return-type "GtkWidget*")
-)
-
-(define-function empathy_presence_chooser_create_menu
-  (c-name "empathy_presence_chooser_create_menu")
-  (return-type "GtkWidget*")
-)
-
-
-
-;; From empathy-private-chat.h
-
-(define-function empathy_private_chat_get_type
-  (c-name "empathy_private_chat_get_type")
-  (return-type "GType")
-)
-
-(define-function empathy_private_chat_new
-  (c-name "empathy_private_chat_new")
-  (is-constructor-of "EmpathyPrivateChat")
-  (return-type "EmpathyPrivateChat*")
+(define-function empathy_pixbuf_from_avatar_scaled
+  (c-name "empathy_pixbuf_from_avatar_scaled")
+  (return-type "GdkPixbuf*")
   (parameters
-    '("EmpathyTpChat*" "tp_chat")
+    '("EmpathyAvatar*" "avatar")
+    '("gint" "width")
+    '("gint" "height")
   )
 )
 
-(define-method get_contact
-  (of-object "EmpathyPrivateChat")
-  (c-name "empathy_private_chat_get_contact")
-  (return-type "EmpathyContact*")
-)
-
-
-
-;; From empathy-profile-chooser.h
-
-(define-function empathy_profile_chooser_new
-  (c-name "empathy_profile_chooser_new")
-  (is-constructor-of "EmpathyProfileChooser")
-  (return-type "GtkWidget*")
-)
-
-(define-function empathy_profile_chooser_get_selected
-  (c-name "empathy_profile_chooser_get_selected")
-  (return-type "McProfile*")
+(define-function empathy_pixbuf_avatar_from_contact_scaled
+  (c-name "empathy_pixbuf_avatar_from_contact_scaled")
+  (return-type "GdkPixbuf*")
   (parameters
-    '("GtkWidget*" "widget")
+    '("EmpathyContact*" "contact")
+    '("gint" "width")
+    '("gint" "height")
   )
 )
 
-(define-function empathy_profile_chooser_n_profiles
-  (c-name "empathy_profile_chooser_n_profiles")
-  (return-type "gint")
+(define-function empathy_pixbuf_scale_down_if_necessary
+  (c-name "empathy_pixbuf_scale_down_if_necessary")
+  (return-type "GdkPixbuf*")
   (parameters
-    '("GtkWidget*" "widget")
+    '("GdkPixbuf*" "pixbuf")
+    '("gint" "max_size")
   )
 )
 
-
-
-;; From empathy-smiley-manager.h
-
-(define-function empathy_smiley_manager_get_type
-  (c-name "empathy_smiley_manager_get_type")
-  (return-type "GType")
-)
-
-(define-function empathy_smiley_manager_new
-  (c-name "empathy_smiley_manager_new")
-  (is-constructor-of "EmpathySmileyManager")
-  (return-type "EmpathySmileyManager*")
-)
-
-(define-method load
-  (of-object "EmpathySmileyManager")
-  (c-name "empathy_smiley_manager_load")
-  (return-type "none")
-)
-
-(define-method add
-  (of-object "EmpathySmileyManager")
-  (c-name "empathy_smiley_manager_add")
-  (return-type "none")
+(define-function empathy_pixbuf_from_icon_name
+  (c-name "empathy_pixbuf_from_icon_name")
+  (return-type "GdkPixbuf*")
   (parameters
     '("const-gchar*" "icon_name")
-    '("const-gchar*" "first_str")
-  )
-  (varargs #t)
-)
-
-(define-method add_from_pixbuf
-  (of-object "EmpathySmileyManager")
-  (c-name "empathy_smiley_manager_add_from_pixbuf")
-  (return-type "none")
-  (parameters
-    '("GdkPixbuf*" "smiley")
-    '("const-gchar*" "first_str")
-  )
-  (varargs #t)
-)
-
-(define-method get_all
-  (of-object "EmpathySmileyManager")
-  (c-name "empathy_smiley_manager_get_all")
-  (return-type "GSList*")
-)
-
-(define-method parse
-  (of-object "EmpathySmileyManager")
-  (c-name "empathy_smiley_manager_parse")
-  (return-type "GSList*")
-  (parameters
-    '("const-gchar*" "text")
-  )
-)
-
-(define-method free
-  (of-object "EmpathySmiley")
-  (c-name "empathy_smiley_free")
-  (return-type "none")
+    '("GtkIconSize" "icon_size")
+  )
 )
 
-
-
-;; From empathy-spell-dialog.h
-
-(define-function empathy_spell_dialog_show
-  (c-name "empathy_spell_dialog_show")
-  (return-type "none")
+(define-function empathy_text_iter_forward_search
+  (c-name "empathy_text_iter_forward_search")
+  (return-type "gboolean")
   (parameters
-    '("EmpathyChat*" "chat")
-    '("GtkTextIter" "start")
-    '("GtkTextIter" "end")
-    '("const-gchar*" "word")
+    '("const-GtkTextIter*" "iter")
+    '("const-gchar*" "str")
+    '("GtkTextIter*" "match_start")
+    '("GtkTextIter*" "match_end")
+    '("const-GtkTextIter*" "limit")
   )
 )
 
-
-
-;; From empathy-spell.h
-
-(define-function empathy_spell_supported
-  (c-name "empathy_spell_supported")
+(define-function empathy_text_iter_backward_search
+  (c-name "empathy_text_iter_backward_search")
   (return-type "gboolean")
+  (parameters
+    '("const-GtkTextIter*" "iter")
+    '("const-gchar*" "str")
+    '("GtkTextIter*" "match_start")
+    '("GtkTextIter*" "match_end")
+    '("const-GtkTextIter*" "limit")
+  )
 )
 
-(define-function empathy_spell_get_language_name
-  (c-name "empathy_spell_get_language_name")
-  (return-type "const-gchar*")
+(define-function empathy_window_get_is_visible
+  (c-name "empathy_window_get_is_visible")
+  (return-type "gboolean")
   (parameters
-    '("const-gchar*" "code")
+    '("GtkWindow*" "window")
   )
 )
 
-(define-function empathy_spell_get_language_codes
-  (c-name "empathy_spell_get_language_codes")
-  (return-type "GList*")
+(define-function empathy_window_present
+  (c-name "empathy_window_present")
+  (return-type "none")
+  (parameters
+    '("GtkWindow*" "window")
+    '("gboolean" "steal_focus")
+  )
 )
 
-(define-function empathy_spell_free_language_codes
-  (c-name "empathy_spell_free_language_codes")
+(define-function empathy_window_iconify
+  (c-name "empathy_window_iconify")
   (return-type "none")
   (parameters
-    '("GList*" "codes")
+    '("GtkWindow*" "window")
+    '("GtkStatusIcon*" "status_icon")
   )
 )
 
-(define-function empathy_spell_check
-  (c-name "empathy_spell_check")
-  (return-type "gboolean")
+(define-function empathy_get_toplevel_window
+  (c-name "empathy_get_toplevel_window")
+  (return-type "GtkWindow*")
   (parameters
-    '("const-gchar*" "word")
+    '("GtkWidget*" "widget")
   )
 )
 
-(define-function empathy_spell_get_suggestions
-  (c-name "empathy_spell_get_suggestions")
-  (return-type "GList*")
+(define-function empathy_url_show
+  (c-name "empathy_url_show")
+  (return-type "none")
   (parameters
-    '("const-gchar*" "word")
+    '("const-char*" "url")
   )
 )
 
-(define-function empathy_spell_free_suggestions
-  (c-name "empathy_spell_free_suggestions")
+(define-function empathy_toggle_button_set_state_quietly
+  (c-name "empathy_toggle_button_set_state_quietly")
   (return-type "none")
   (parameters
-    '("GList*" "suggestions")
+    '("GtkWidget*" "widget")
+    '("GCallback" "callback")
+    '("gpointer" "user_data")
+    '("gboolean" "active")
   )
 )
 
-
-
-;; From empathy-status-icon.h
-
-(define-function empathy_status_icon_get_type
-  (c-name "empathy_status_icon_get_type")
-  (return-type "GType")
+(define-function empathy_link_button_new
+  (c-name "empathy_link_button_new")
+  (is-constructor-of "EmpathyLinkButton")
+  (return-type "GtkWidget*")
+  (parameters
+    '("const-gchar*" "url")
+    '("const-gchar*" "title")
+  )
 )
 
-(define-function empathy_status_icon_new
-  (c-name "empathy_status_icon_new")
-  (is-constructor-of "EmpathyStatusIcon")
-  (return-type "EmpathyStatusIcon*")
+(define-function empathy_text_buffer_tag_set
+  (c-name "empathy_text_buffer_tag_set")
+  (return-type "GtkTextTag*")
   (parameters
-    '("GtkWindow*" "window")
+    '("GtkTextBuffer*" "buffer")
+    '("const-gchar*" "tag_name")
+    '("const-gchar*" "first_property_name")
   )
+  (varargs #t)
 )
 
 
 
-;; From empathy-theme-boxes.h
+;; From empathy-cell-renderer-activatable.h
 
-(define-function empathy_theme_boxes_get_type
-  (c-name "empathy_theme_boxes_get_type")
+(define-function empathy_cell_renderer_activatable_get_type
+  (c-name "empathy_cell_renderer_activatable_get_type")
   (return-type "GType")
 )
 
+(define-function empathy_cell_renderer_activatable_new
+  (c-name "empathy_cell_renderer_activatable_new")
+  (is-constructor-of "EmpathyCellRendererActivatable")
+  (return-type "GtkCellRenderer*")
+)
 
 
-;; From empathy-theme.h
 
-(define-function empathy_theme_get_type
-  (c-name "empathy_theme_get_type")
-  (return-type "GType")
-)
+;; From empathy-contact-widget.h
 
-(define-method update_view
-  (of-object "EmpathyTheme")
-  (c-name "empathy_theme_update_view")
-  (return-type "none")
+(define-method widget_new
+  (of-object "EmpathyContact")
+  (c-name "empathy_contact_widget_new")
+  (return-type "GtkWidget*")
   (parameters
-    '("EmpathyChatView*" "view")
+    '("EmpathyContactWidgetFlags" "flags")
   )
 )
 
-(define-method append_message
-  (of-object "EmpathyTheme")
-  (c-name "empathy_theme_append_message")
-  (return-type "none")
+(define-function empathy_contact_widget_get_contact
+  (c-name "empathy_contact_widget_get_contact")
+  (return-type "EmpathyContact*")
   (parameters
-    '("EmpathyChatView*" "view")
-    '("EmpathyMessage*" "msg")
+    '("GtkWidget*" "widget")
   )
 )
 
-(define-method append_text
-  (of-object "EmpathyTheme")
-  (c-name "empathy_theme_append_text")
+(define-function empathy_contact_widget_set_contact
+  (c-name "empathy_contact_widget_set_contact")
   (return-type "none")
   (parameters
-    '("EmpathyChatView*" "view")
-    '("const-gchar*" "body")
-    '("const-gchar*" "tag")
-    '("const-gchar*" "link_tag")
+    '("GtkWidget*" "widget")
+    '("EmpathyContact*" "contact")
   )
 )
 
-(define-method append_spacing
-  (of-object "EmpathyTheme")
-  (c-name "empathy_theme_append_spacing")
+(define-function empathy_contact_widget_set_account_filter
+  (c-name "empathy_contact_widget_set_account_filter")
   (return-type "none")
   (parameters
-    '("EmpathyChatView*" "view")
+    '("GtkWidget*" "widget")
+    '("EmpathyAccountChooserFilterFunc" "filter")
+    '("gpointer" "user_data")
   )
 )
 
-(define-method append_event
-  (of-object "EmpathyTheme")
-  (c-name "empathy_theme_append_event")
-  (return-type "none")
-  (parameters
-    '("EmpathyChatView*" "view")
-    '("const-gchar*" "str")
-  )
-)
 
-(define-method append_timestamp
-  (of-object "EmpathyTheme")
-  (c-name "empathy_theme_append_timestamp")
-  (return-type "none")
-  (parameters
-    '("EmpathyChatView*" "view")
-    '("EmpathyMessage*" "message")
-    '("gboolean" "show_date")
-    '("gboolean" "show_time")
-  )
+
+;; From empathy-profile-chooser.h
+
+(define-function empathy_profile_chooser_new
+  (c-name "empathy_profile_chooser_new")
+  (is-constructor-of "EmpathyProfileChooser")
+  (return-type "GtkWidget*")
 )
 
-(define-method maybe_append_date_and_time
-  (of-object "EmpathyTheme")
-  (c-name "empathy_theme_maybe_append_date_and_time")
-  (return-type "none")
+(define-function empathy_profile_chooser_get_selected
+  (c-name "empathy_profile_chooser_get_selected")
+  (return-type "McProfile*")
   (parameters
-    '("EmpathyChatView*" "view")
-    '("EmpathyMessage*" "message")
+    '("GtkWidget*" "widget")
   )
 )
 
-(define-method get_show_avatars
-  (of-object "EmpathyTheme")
-  (c-name "empathy_theme_get_show_avatars")
-  (return-type "gboolean")
-)
-
-(define-method set_show_avatars
-  (of-object "EmpathyTheme")
-  (c-name "empathy_theme_set_show_avatars")
-  (return-type "none")
+(define-function empathy_profile_chooser_n_profiles
+  (c-name "empathy_profile_chooser_n_profiles")
+  (return-type "gint")
   (parameters
-    '("gboolean" "show")
+    '("GtkWidget*" "widget")
   )
 )
 
 
 
-;; From empathy-theme-irc.h
+;; From empathy-cell-renderer-expander.h
 
-(define-function empathy_theme_irc_get_type
-  (c-name "empathy_theme_irc_get_type")
+(define-function empathy_cell_renderer_expander_get_type
+  (c-name "empathy_cell_renderer_expander_get_type")
   (return-type "GType")
 )
 
-
-
-;; From empathy-theme-manager.h
-
-(define-function empathy_theme_manager_get_type
-  (c-name "empathy_theme_manager_get_type")
-  (return-type "GType")
+(define-function empathy_cell_renderer_expander_new
+  (c-name "empathy_cell_renderer_expander_new")
+  (is-constructor-of "EmpathyCellRendererExpander")
+  (return-type "GtkCellRenderer*")
 )
 
-(define-function empathy_theme_manager_get
-  (c-name "empathy_theme_manager_get")
-  (return-type "EmpathyThemeManager*")
-)
 
-(define-function empathy_theme_manager_get_themes
-  (c-name "empathy_theme_manager_get_themes")
-  (return-type "const-gchar**")
-)
 
-(define-method apply
-  (of-object "EmpathyThemeManager")
-  (c-name "empathy_theme_manager_apply")
+;; From empathy-geometry.h
+
+(define-function empathy_geometry_save
+  (c-name "empathy_geometry_save")
   (return-type "none")
   (parameters
-    '("EmpathyChatView*" "view")
-    '("const-gchar*" "theme")
+    '("const-gchar*" "name")
+    '("gint" "x")
+    '("gint" "y")
+    '("gint" "w")
+    '("gint" "h")
   )
 )
 
-(define-method apply_saved
-  (of-object "EmpathyThemeManager")
-  (c-name "empathy_theme_manager_apply_saved")
+(define-function empathy_geometry_load
+  (c-name "empathy_geometry_load")
   (return-type "none")
   (parameters
-    '("EmpathyChatView*" "view")
+    '("const-gchar*" "name")
+    '("gint*" "x")
+    '("gint*" "y")
+    '("gint*" "w")
+    '("gint*" "h")
   )
 )
 
 
 
-;; From empathy-ui-utils.h
+;; From empathy-smiley-manager.h
 
-(define-function empathy_glade_get_file_simple
-  (c-name "empathy_glade_get_file_simple")
-  (return-type "none")
-  (parameters
-    '("const-gchar*" "filename")
-    '("const-gchar*" "root")
-    '("const-gchar*" "domain")
-    '("const-gchar*" "first_required_widget")
-  )
-  (varargs #t)
+(define-function empathy_smiley_manager_get_type
+  (c-name "empathy_smiley_manager_get_type")
+  (return-type "GType")
 )
 
-(define-function empathy_glade_get_file
-  (c-name "empathy_glade_get_file")
-  (return-type "GladeXML*")
-  (parameters
-    '("const-gchar*" "filename")
-    '("const-gchar*" "root")
-    '("const-gchar*" "domain")
-    '("const-gchar*" "first_required_widget")
-  )
-  (varargs #t)
+(define-function empathy_smiley_manager_new
+  (c-name "empathy_smiley_manager_new")
+  (is-constructor-of "EmpathySmileyManager")
+  (return-type "EmpathySmileyManager*")
 )
 
-(define-function empathy_glade_connect
-  (c-name "empathy_glade_connect")
+(define-method load
+  (of-object "EmpathySmileyManager")
+  (c-name "empathy_smiley_manager_load")
   (return-type "none")
-  (parameters
-    '("GladeXML*" "gui")
-    '("gpointer" "user_data")
-    '("gchar*" "first_widget")
-  )
-  (varargs #t)
 )
 
-(define-function empathy_glade_setup_size_group
-  (c-name "empathy_glade_setup_size_group")
+(define-method add
+  (of-object "EmpathySmileyManager")
+  (c-name "empathy_smiley_manager_add")
   (return-type "none")
   (parameters
-    '("GladeXML*" "gui")
-    '("GtkSizeGroupMode" "mode")
-    '("gchar*" "first_widget")
+    '("const-gchar*" "icon_name")
+    '("const-gchar*" "first_str")
   )
   (varargs #t)
 )
 
-(define-function empathy_icon_name_from_account
-  (c-name "empathy_icon_name_from_account")
-  (return-type "const-gchar*")
+(define-method add_from_pixbuf
+  (of-object "EmpathySmileyManager")
+  (c-name "empathy_smiley_manager_add_from_pixbuf")
+  (return-type "none")
   (parameters
-    '("McAccount*" "account")
+    '("GdkPixbuf*" "smiley")
+    '("const-gchar*" "first_str")
   )
+  (varargs #t)
 )
 
-(define-function empathy_icon_name_for_presence
-  (c-name "empathy_icon_name_for_presence")
-  (return-type "const-gchar*")
-  (parameters
-    '("McPresence" "presence")
-  )
+(define-method get_all
+  (of-object "EmpathySmileyManager")
+  (c-name "empathy_smiley_manager_get_all")
+  (return-type "GSList*")
 )
 
-(define-function empathy_icon_name_for_contact
-  (c-name "empathy_icon_name_for_contact")
-  (return-type "const-gchar*")
+(define-method parse
+  (of-object "EmpathySmileyManager")
+  (c-name "empathy_smiley_manager_parse")
+  (return-type "GSList*")
   (parameters
-    '("EmpathyContact*" "contact")
+    '("const-gchar*" "text")
   )
 )
 
-(define-function empathy_pixbuf_from_data
-  (c-name "empathy_pixbuf_from_data")
-  (return-type "GdkPixbuf*")
-  (parameters
-    '("gchar*" "data")
-    '("gsize" "data_size")
-  )
+(define-method free
+  (of-object "EmpathySmiley")
+  (c-name "empathy_smiley_free")
+  (return-type "none")
 )
 
-(define-function empathy_pixbuf_from_avatar_scaled
-  (c-name "empathy_pixbuf_from_avatar_scaled")
-  (return-type "GdkPixbuf*")
-  (parameters
-    '("EmpathyAvatar*" "avatar")
-    '("gint" "width")
-    '("gint" "height")
-  )
-)
 
-(define-function empathy_pixbuf_avatar_from_contact_scaled
-  (c-name "empathy_pixbuf_avatar_from_contact_scaled")
-  (return-type "GdkPixbuf*")
-  (parameters
-    '("EmpathyContact*" "contact")
-    '("gint" "width")
-    '("gint" "height")
-  )
-)
 
-(define-function empathy_pixbuf_scale_down_if_necessary
-  (c-name "empathy_pixbuf_scale_down_if_necessary")
-  (return-type "GdkPixbuf*")
-  (parameters
-    '("GdkPixbuf*" "pixbuf")
-    '("gint" "max_size")
-  )
+;; From empathy-cell-renderer-text.h
+
+(define-function empathy_cell_renderer_text_get_type
+  (c-name "empathy_cell_renderer_text_get_type")
+  (return-type "GType")
 )
 
-(define-function empathy_pixbuf_from_icon_name
-  (c-name "empathy_pixbuf_from_icon_name")
-  (return-type "GdkPixbuf*")
-  (parameters
-    '("const-gchar*" "icon_name")
-    '("GtkIconSize" "icon_size")
-  )
+(define-function empathy_cell_renderer_text_new
+  (c-name "empathy_cell_renderer_text_new")
+  (is-constructor-of "EmpathyCellRendererText")
+  (return-type "GtkCellRenderer*")
 )
 
-(define-function empathy_text_iter_forward_search
-  (c-name "empathy_text_iter_forward_search")
-  (return-type "gboolean")
-  (parameters
-    '("const-GtkTextIter*" "iter")
-    '("const-gchar*" "str")
-    '("GtkTextIter*" "match_start")
-    '("GtkTextIter*" "match_end")
-    '("const-GtkTextIter*" "limit")
-  )
+
+
+;; From empathy-group-chat.h
+
+(define-function empathy_group_chat_get_type
+  (c-name "empathy_group_chat_get_type")
+  (return-type "GType")
 )
 
-(define-function empathy_text_iter_backward_search
-  (c-name "empathy_text_iter_backward_search")
-  (return-type "gboolean")
+(define-function empathy_group_chat_new
+  (c-name "empathy_group_chat_new")
+  (is-constructor-of "EmpathyGroupChat")
+  (return-type "EmpathyGroupChat*")
   (parameters
-    '("const-GtkTextIter*" "iter")
-    '("const-gchar*" "str")
-    '("GtkTextIter*" "match_start")
-    '("GtkTextIter*" "match_end")
-    '("const-GtkTextIter*" "limit")
+    '("EmpathyTpChatroom*" "tp_chat")
   )
 )
 
-(define-function empathy_window_get_is_visible
-  (c-name "empathy_window_get_is_visible")
+(define-method get_show_contacts
+  (of-object "EmpathyGroupChat")
+  (c-name "empathy_group_chat_get_show_contacts")
   (return-type "gboolean")
-  (parameters
-    '("GtkWindow*" "window")
-  )
 )
 
-(define-function empathy_window_present
-  (c-name "empathy_window_present")
+(define-method set_show_contacts
+  (of-object "EmpathyGroupChat")
+  (c-name "empathy_group_chat_set_show_contacts")
   (return-type "none")
   (parameters
-    '("GtkWindow*" "window")
-    '("gboolean" "steal_focus")
+    '("gboolean" "show")
   )
 )
 
-(define-function empathy_window_iconify
-  (c-name "empathy_window_iconify")
+(define-method set_topic
+  (of-object "EmpathyGroupChat")
+  (c-name "empathy_group_chat_set_topic")
   (return-type "none")
-  (parameters
-    '("GtkWindow*" "window")
-    '("GtkStatusIcon*" "status_icon")
-  )
 )
 
-(define-function empathy_get_toplevel_window
-  (c-name "empathy_get_toplevel_window")
-  (return-type "GtkWindow*")
+
+
+;; From empathy-spell.h
+
+(define-function empathy_spell_supported
+  (c-name "empathy_spell_supported")
+  (return-type "gboolean")
+)
+
+(define-function empathy_spell_get_language_name
+  (c-name "empathy_spell_get_language_name")
+  (return-type "const-gchar*")
   (parameters
-    '("GtkWidget*" "widget")
+    '("const-gchar*" "code")
   )
 )
 
-(define-function empathy_url_show
-  (c-name "empathy_url_show")
+(define-function empathy_spell_get_language_codes
+  (c-name "empathy_spell_get_language_codes")
+  (return-type "GList*")
+)
+
+(define-function empathy_spell_free_language_codes
+  (c-name "empathy_spell_free_language_codes")
   (return-type "none")
   (parameters
-    '("const-char*" "url")
+    '("GList*" "codes")
   )
 )
 
-(define-function empathy_toggle_button_set_state_quietly
-  (c-name "empathy_toggle_button_set_state_quietly")
-  (return-type "none")
+(define-function empathy_spell_check
+  (c-name "empathy_spell_check")
+  (return-type "gboolean")
   (parameters
-    '("GtkWidget*" "widget")
-    '("GCallback" "callback")
-    '("gpointer" "user_data")
-    '("gboolean" "active")
+    '("const-gchar*" "word")
   )
 )
 
-(define-function empathy_link_button_new
-  (c-name "empathy_link_button_new")
-  (is-constructor-of "EmpathyLinkButton")
-  (return-type "GtkWidget*")
+(define-function empathy_spell_get_suggestions
+  (c-name "empathy_spell_get_suggestions")
+  (return-type "GList*")
   (parameters
-    '("const-gchar*" "url")
-    '("const-gchar*" "title")
+    '("const-gchar*" "word")
   )
 )
 
-(define-function empathy_text_buffer_tag_set
-  (c-name "empathy_text_buffer_tag_set")
-  (return-type "GtkTextTag*")
+(define-function empathy_spell_free_suggestions
+  (c-name "empathy_spell_free_suggestions")
+  (return-type "none")
   (parameters
-    '("GtkTextBuffer*" "buffer")
-    '("const-gchar*" "tag_name")
-    '("const-gchar*" "first_property_name")
+    '("GList*" "suggestions")
   )
-  (varargs #t)
 )
 
+
index fda97884971f9fe7121aaaab77a2bbb62b52d51b..a2bb7a7243e353ad56578353bc1734bc63294c2a 100644 (file)
@@ -2,21 +2,17 @@
 headers
 #include <Python.h>
 #include <pygobject.h>
-#include "empathy-about-dialog.h"
 #include "empathy-account-chooser.h"
 #include "empathy-accounts-dialog.h"
 #include "empathy-account-widget.h"
 #include "empathy-account-widget-irc.h"
 #include "empathy-avatar-chooser.h"
 #include "empathy-avatar-image.h"
-#include "empathy-call-window.h"
 #include "empathy-cell-renderer-activatable.h"
 #include "empathy-cell-renderer-expander.h"
 #include "empathy-cell-renderer-text.h"
 #include "empathy-chat.h"
-#include "empathy-chatrooms-window.h"
 #include "empathy-chat-view.h"
-#include "empathy-chat-window.h"
 #include "empathy-conf.h"
 #include "empathy-contact-dialogs.h"
 #include "empathy-contact-list-store.h"
@@ -28,17 +24,13 @@ headers
 #include "empathy-images.h"
 #include "empathy-irc-network-dialog.h"
 #include "empathy-log-window.h"
-#include "empathy-main-window.h"
-#include "empathy-new-chatroom-dialog.h"
 #include "empathy-new-message-dialog.h"
-#include "empathy-preferences.h"
 #include "empathy-presence-chooser.h"
 #include "empathy-private-chat.h"
 #include "empathy-profile-chooser.h"
 #include "empathy-smiley-manager.h"
 #include "empathy-spell-dialog.h"
 #include "empathy-spell.h"
-#include "empathy-status-icon.h"
 #include "empathy-theme-boxes.h"
 #include "empathy-theme.h"
 #include "empathy-theme-irc.h"
diff --git a/python/update-binding.sh b/python/update-binding.sh
new file mode 100755 (executable)
index 0000000..629673f
--- /dev/null
@@ -0,0 +1,76 @@
+#! /bin/sh
+#Manually update headers in pyempathy.override and pyempathygtk.override.
+
+# Update the list of headers from Makefile.am
+cd ../libempathy
+python /usr/share/pygtk/2.0/codegen/h2def.py   \
+       empathy-avatar.h                        \
+       empathy-time.h                          \
+       empathy-status-presets.h                \
+       empathy-debug.h                         \
+       empathy-utils.h                         \
+       empathy-message.h                       \
+       empathy-chatroom-manager.h              \
+       empathy-chatroom.h                      \
+       empathy-contact.h                       \
+       empathy-contact-groups.h                \
+       empathy-contact-list.h                  \
+       empathy-contact-manager.h               \
+       empathy-contact-factory.h               \
+       empathy-tp-contact-factory.h            \
+       empathy-tp-group.h                      \
+       empathy-tp-contact-list.h               \
+       empathy-tp-chat.h                       \
+       empathy-tp-chatroom.h                   \
+       empathy-tp-roomlist.h                   \
+       empathy-tp-call.h                       \
+       empathy-chandler.h                      \
+       empathy-filter.h                        \
+       empathy-idle.h                          \
+       empathy-log-manager.h                   \
+       empathy-irc-network-manager.h           \
+       empathy-irc-network.h                   \
+       empathy-irc-server.h                    \
+ > ../python/pyempathy/pyempathy.defs
+
+# Update the list of headers from Makefile.am
+cd ../libempathy-gtk
+python /usr/share/pygtk/2.0/codegen/h2def.py   \
+       empathy-images.h                        \
+       empathy-account-chooser.h               \
+       empathy-chat.h                          \
+       empathy-irc-network-dialog.h            \
+       empathy-spell-dialog.h                  \
+       empathy-accounts-dialog.h               \
+       empathy-chat-view.h                     \
+       empathy-log-window.h                    \
+       empathy-theme-boxes.h                   \
+       empathy-account-widget.h                \
+       empathy-conf.h                          \
+       empathy-theme.h                         \
+       empathy-account-widget-irc.h            \
+       empathy-contact-dialogs.h               \
+       empathy-new-message-dialog.h            \
+       empathy-theme-irc.h                     \
+       empathy-avatar-chooser.h                \
+       empathy-contact-list-store.h            \
+       empathy-presence-chooser.h              \
+       empathy-theme-manager.h                 \
+       empathy-avatar-image.h                  \
+       empathy-contact-list-view.h             \
+       empathy-private-chat.h                  \
+       empathy-ui-utils.h                      \
+       empathy-cell-renderer-activatable.h     \
+       empathy-contact-widget.h                \
+       empathy-profile-chooser.h               \
+       empathy-cell-renderer-expander.h        \
+       empathy-geometry.h                      \
+       empathy-smiley-manager.h                \
+       empathy-cell-renderer-text.h            \
+       empathy-group-chat.h                    \
+       empathy-spell.h                         \
+ > ../python/pyempathygtk/pyempathygtk.defs
+
+cd ../python
+patch -p0 < pyempathy.patch
+