diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-06-07 21:35:11 +0800 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-06-07 21:35:11 +0800 |
commit | d440d9ab734b45ffc651750a3d317e299c851821 (patch) | |
tree | 493f500033de665dae1e35f5c96ddb798fb198c3 /python | |
parent | 396aff97047f039c5bca8f3a0da13b9b295e657b (diff) | |
parent | 138ec18cd4c9deafd20d4e0b08c4d3dab07f7c10 (diff) | |
download | gsoc2013-empathy-d440d9ab734b45ffc651750a3d317e299c851821.tar gsoc2013-empathy-d440d9ab734b45ffc651750a3d317e299c851821.tar.gz gsoc2013-empathy-d440d9ab734b45ffc651750a3d317e299c851821.tar.bz2 gsoc2013-empathy-d440d9ab734b45ffc651750a3d317e299c851821.tar.lz gsoc2013-empathy-d440d9ab734b45ffc651750a3d317e299c851821.tar.xz gsoc2013-empathy-d440d9ab734b45ffc651750a3d317e299c851821.tar.zst gsoc2013-empathy-d440d9ab734b45ffc651750a3d317e299c851821.zip |
Merge branch 'profile-chooser'
Diffstat (limited to 'python')
-rw-r--r-- | python/pyempathygtk/pyempathygtk.defs | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/python/pyempathygtk/pyempathygtk.defs b/python/pyempathygtk/pyempathygtk.defs index 291e154d8..f174a6887 100644 --- a/python/pyempathygtk/pyempathygtk.defs +++ b/python/pyempathygtk/pyempathygtk.defs @@ -118,6 +118,13 @@ (gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER") ) +(define-object ProfileChooser + (in-module "Empathy") + (parent "GtkComboBox") + (c-name "EmpathyProfileChooser") + (gtype-id "EMPATHY_TYPE_PROFILE_CHOOSER") +) + (define-object SmileyManager (in-module "Empathy") (parent "GObject") @@ -1557,26 +1564,27 @@ ;; From empathy-profile-chooser.h +(define-function profile_chooser_get_type + (c-name "empathy_profile_chooser_get_type") + (return-type "GType") +) + (define-function profile_chooser_new (c-name "empathy_profile_chooser_new") (is-constructor-of "EmpathyProfileChooser") (return-type "GtkWidget*") ) -(define-function profile_chooser_dup_selected +(define-method dup_selected + (of-object "EmpathyProfileChooser") (c-name "empathy_profile_chooser_dup_selected") (return-type "McProfile*") - (parameters - '("GtkWidget*" "widget") - ) ) -(define-function profile_chooser_n_profiles +(define-method n_profiles + (of-object "EmpathyProfileChooser") (c-name "empathy_profile_chooser_n_profiles") (return-type "gint") - (parameters - '("GtkWidget*" "widget") - ) ) |