aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-06-05 20:59:18 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2009-06-05 20:59:18 +0800
commitca094304b0184f2c248ab29e95c14a8dad0acc4a (patch)
tree8c04b836e941b5e96957b3a9f6e63419593238d5
parent0f77bf449105bd33390e1ba88d51b2e8f2993770 (diff)
downloadgsoc2013-empathy-ca094304b0184f2c248ab29e95c14a8dad0acc4a.tar
gsoc2013-empathy-ca094304b0184f2c248ab29e95c14a8dad0acc4a.tar.gz
gsoc2013-empathy-ca094304b0184f2c248ab29e95c14a8dad0acc4a.tar.bz2
gsoc2013-empathy-ca094304b0184f2c248ab29e95c14a8dad0acc4a.tar.lz
gsoc2013-empathy-ca094304b0184f2c248ab29e95c14a8dad0acc4a.tar.xz
gsoc2013-empathy-ca094304b0184f2c248ab29e95c14a8dad0acc4a.tar.zst
gsoc2013-empathy-ca094304b0184f2c248ab29e95c14a8dad0acc4a.zip
Update python bindings.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--python/pyempathygtk/pyempathygtk.defs24
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")
- )
)