diff options
Diffstat (limited to 'python/pyempathygtk')
-rw-r--r-- | python/pyempathygtk/pyempathygtk.defs | 59 | ||||
-rw-r--r-- | python/pyempathygtk/pyempathygtk.override | 4 |
2 files changed, 41 insertions, 22 deletions
diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs index f92a3eeb2..4f5e0f5a4 100644 --- a/python/pyempathygtk/pyempathygtk.defs +++ b/python/pyempathygtk/pyempathygtk.defs @@ -320,7 +320,30 @@ -;; From empathy-account-widget-generic.h +;; From empathy-account-widget.h + +(define-function empathy_account_widget_new_with_glade + (c-name "empathy_account_widget_new_with_glade") + (return-type "GtkWidget*") + (parameters + '("McAccount*" "account") + '("GladeXML*" "glade") + '("const-gchar*" "root") + '("const-gchar*" "first_widget_name") + ) + (varargs #t) +) + +(define-function emapthy_account_widget_add_forget_button + (c-name "emapthy_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") @@ -331,23 +354,15 @@ ) ) - - -;; From empathy-account-widget-jabber.h - -(define-function empathy_account_widget_jabber_new - (c-name "empathy_account_widget_jabber_new") - (is-constructor-of "EmpathyAccountWidgetJabber") +(define-function empathy_account_widget_salut_new + (c-name "empathy_account_widget_salut_new") + (is-constructor-of "EmpathyAccountWidgetSalut") (return-type "GtkWidget*") (parameters '("McAccount*" "account") ) ) - - -;; From empathy-account-widget-msn.h - (define-function empathy_account_widget_msn_new (c-name "empathy_account_widget_msn_new") (is-constructor-of "EmpathyAccountWidgetMsn") @@ -357,13 +372,9 @@ ) ) - - -;; From empathy-account-widget-salut.h - -(define-function empathy_account_widget_salut_new - (c-name "empathy_account_widget_salut_new") - (is-constructor-of "EmpathyAccountWidgetSalut") +(define-function empathy_account_widget_jabber_new + (c-name "empathy_account_widget_jabber_new") + (is-constructor-of "EmpathyAccountWidgetJabber") (return-type "GtkWidget*") (parameters '("McAccount*" "account") @@ -1869,6 +1880,16 @@ ;; From empathy-ui-utils.h +(define-function empathy_glade_get + (c-name "empathy_glade_get") + (return-type "GladeXML*") + (parameters + '("const-gchar*" "filename") + '("const-gchar*" "root") + '("const-gchar*" "domain") + ) +) + (define-function empathy_glade_get_file_simple (c-name "empathy_glade_get_file_simple") (return-type "none") diff --git a/python/pyempathygtk/pyempathygtk.override b/python/pyempathygtk/pyempathygtk.override index c7c59415b..f806b62f8 100644 --- a/python/pyempathygtk/pyempathygtk.override +++ b/python/pyempathygtk/pyempathygtk.override @@ -7,9 +7,7 @@ headers #include "empathy-about-dialog.h" #include "empathy-account-chooser.h" #include "empathy-accounts-dialog.h" -#include "empathy-account-widget-generic.h" -#include "empathy-account-widget-jabber.h" -#include "empathy-account-widget-msn.h" +#include "empathy-account-widget.h" #include "empathy-cell-renderer-expander.h" #include "empathy-cell-renderer-text.h" #include "empathy-cell-renderer-activatable.h" |