From f625e4dda03c6e2e41352600c842104e7ee02e9e Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 9 Jan 2009 10:06:23 +0000 Subject: Update python bindings. svn path=/trunk/; revision=2119 --- python/pyempathy/pyempathy.defs | 15 ++++++--------- python/pyempathygtk/pyempathygtk.defs | 5 ++--- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/python/pyempathy/pyempathy.defs b/python/pyempathy/pyempathy.defs index 08017c008..8b47d5fe2 100644 --- a/python/pyempathy/pyempathy.defs +++ b/python/pyempathy/pyempathy.defs @@ -703,9 +703,8 @@ (return-type "GType") ) -(define-function contact_factory_new - (c-name "empathy_contact_factory_new") - (is-constructor-of "EmpathyContactFactory") +(define-function contact_factory_dup_singleton + (c-name "empathy_contact_factory_dup_singleton") (return-type "EmpathyContactFactory*") ) @@ -1071,9 +1070,8 @@ (return-type "GType") ) -(define-function idle_new - (c-name "empathy_idle_new") - (is-constructor-of "EmpathyIdle") +(define-function idle_dup_singleton + (c-name "empathy_idle_dup_singleton") (return-type "EmpathyIdle*") ) @@ -1295,9 +1293,8 @@ (return-type "GType") ) -(define-function log_manager_new - (c-name "empathy_log_manager_new") - (is-constructor-of "EmpathyLogManager") +(define-function log_manager_dup_singleton + (c-name "empathy_log_manager_dup_singleton") (return-type "EmpathyLogManager*") ) diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs index 574bbcd1f..5ab60201a 100644 --- a/python/pyempathygtk/pyempathygtk.defs +++ b/python/pyempathygtk/pyempathygtk.defs @@ -1329,9 +1329,8 @@ (return-type "GType") ) -(define-function smiley_manager_new - (c-name "empathy_smiley_manager_new") - (is-constructor-of "EmpathySmileyManager") +(define-function smiley_manager_dup_singleton + (c-name "empathy_smiley_manager_dup_singleton") (return-type "EmpathySmileyManager*") ) -- cgit v1.2.3