(define-object PresenceChooser
(in-module "Empathy")
- (parent "GtkToggleButton")
+ (parent "GtkComboBoxEntry")
(c-name "EmpathyPresenceChooser")
(gtype-id "EMPATHY_TYPE_PRESENCE_CHOOSER")
)
)
)
+(define-enum GstVideoSrcChannel
+ (in-module "Empathy")
+ (c-name "EmpathyGstVideoSrcChannel")
+ (gtype-id "EMPATHY_TYPE_GST_VIDEO_SRC_CHANNEL")
+ (values
+ '("empathy-gst-video-src-channel-contrast" "EMPATHY_GST_VIDEO_SRC_CHANNEL_CONTRAST")
+ '("empathy-gst-video-src-channel-brightness" "EMPATHY_GST_VIDEO_SRC_CHANNEL_BRIGHTNESS")
+ '("empathy-gst-video-src-channel-gamma" "EMPATHY_GST_VIDEO_SRC_CHANNEL_GAMMA")
+ '("nr-empathy-gst-video-src-channels" "NR_EMPATHY_GST_VIDEO_SRC_CHANNELS")
+ )
+)
+
(define-enum Sound
(in-module "Empathy")
(c-name "EmpathySound")
(return-type "none")
(parameters
'("McAccount*" "account")
- '("GladeXML*" "glade")
- '("const-gchar*" "first_widget_name")
+ '("GtkBuilder*" "gui")
+ '("const-gchar*" "first_widget")
)
(varargs #t)
)
(return-type "none")
(parameters
'("McAccount*" "account")
- '("GladeXML*" "glade")
+ '("GtkBuilder*" "gui")
'("const-gchar*" "button")
'("const-gchar*" "entry")
)
(return-type "EmpathyContact*")
)
+(define-method set_visible
+ (of-object "EmpathyContactSelector")
+ (c-name "empathy_contact_selector_set_visible")
+ (return-type "none")
+ (parameters
+ '("EmpathyContactSelectorFilterFunc" "func")
+ '("gpointer" "user_data")
+ )
+)
+
;; From empathy-contact-widget.h
(return-type "GstElement*")
)
+(define-function audio_src_set_volume
+ (c-name "empathy_audio_src_set_volume")
+ (return-type "none")
+ (parameters
+ '("EmpathyGstAudioSrc*" "src")
+ '("gdouble" "volume")
+ )
+)
+
+(define-function audio_src_get_volume
+ (c-name "empathy_audio_src_get_volume")
+ (return-type "gdouble")
+ (parameters
+ '("EmpathyGstAudioSrc*" "src")
+ )
+)
+
;; From empathy-video-src.h
(return-type "GstElement*")
)
+(define-function video_src_get_supported_channels
+ (c-name "empathy_video_src_get_supported_channels")
+ (return-type "guint")
+ (parameters
+ '("GstElement*" "src")
+ )
+)
+
+(define-function video_src_set_channel
+ (c-name "empathy_video_src_set_channel")
+ (return-type "none")
+ (parameters
+ '("GstElement*" "src")
+ '("EmpathyGstVideoSrcChannel" "channel")
+ '("guint" "percent")
+ )
+)
+
+(define-function video_src_get_channel
+ (c-name "empathy_video_src_get_channel")
+ (return-type "guint")
+ (parameters
+ '("GstElement*" "src")
+ '("EmpathyGstVideoSrcChannel" "channel")
+ )
+)
+
;; From empathy-video-widget.h
(return-type "none")
)
-(define-function 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 uri_regex_dup_singleton
+ (c-name "empathy_uri_regex_dup_singleton")
+ (return-type "GRegex*")
)
-(define-function glade_get_file
- (c-name "empathy_glade_get_file")
- (return-type "GladeXML*")
+(define-function builder_get_file
+ (c-name "empathy_builder_get_file")
+ (return-type "GtkBuilder*")
(parameters
'("const-gchar*" "filename")
- '("const-gchar*" "root")
- '("const-gchar*" "domain")
- '("const-gchar*" "first_required_widget")
+ '("const-gchar*" "first_object")
)
(varargs #t)
)
-(define-function glade_connect
- (c-name "empathy_glade_connect")
+(define-function builder_connect
+ (c-name "empathy_builder_connect")
(return-type "none")
(parameters
- '("GladeXML*" "gui")
+ '("GtkBuilder*" "gui")
'("gpointer" "user_data")
- '("gchar*" "first_widget")
+ '("gchar*" "first_object")
)
(varargs #t)
)
-(define-function glade_setup_size_group
- (c-name "empathy_glade_setup_size_group")
- (return-type "none")
+(define-function builder_unref_and_keep_widget
+ (c-name "empathy_builder_unref_and_keep_widget")
+ (return-type "GtkWidget*")
(parameters
- '("GladeXML*" "gui")
- '("GtkSizeGroupMode" "mode")
- '("gchar*" "first_widget")
+ '("GtkBuilder*" "gui")
+ '("GtkWidget*" "root")
)
- (varargs #t)
)
(define-function icon_name_from_account