diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-07-28 19:38:26 +0800 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2011-07-29 18:02:08 +0800 |
commit | 58df02da291709b265717d8bf2d196e4345ea2ba (patch) | |
tree | d9b1d02b174cff7981f241851407c04857fbd500 | |
parent | 0bc0f8fca1696826af50b21c7339164c61d55764 (diff) | |
download | gsoc2013-empathy-58df02da291709b265717d8bf2d196e4345ea2ba.tar gsoc2013-empathy-58df02da291709b265717d8bf2d196e4345ea2ba.tar.gz gsoc2013-empathy-58df02da291709b265717d8bf2d196e4345ea2ba.tar.bz2 gsoc2013-empathy-58df02da291709b265717d8bf2d196e4345ea2ba.tar.lz gsoc2013-empathy-58df02da291709b265717d8bf2d196e4345ea2ba.tar.xz gsoc2013-empathy-58df02da291709b265717d8bf2d196e4345ea2ba.tar.zst gsoc2013-empathy-58df02da291709b265717d8bf2d196e4345ea2ba.zip |
call-window: add getters for the UI manager and audio src
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r-- | src/empathy-call-window.c | 16 | ||||
-rw-r--r-- | src/empathy-call-window.h | 5 |
2 files changed, 21 insertions, 0 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 3bd6d746d..8407dc852 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -3257,3 +3257,19 @@ empathy_call_window_volume_changed_cb (GtkScaleButton *button, empathy_audio_sink_set_volume (EMPATHY_GST_AUDIO_SINK (priv->audio_output), value); } + +GtkUIManager * +empathy_call_window_get_ui_manager (EmpathyCallWindow *window) +{ + EmpathyCallWindowPriv *priv = GET_PRIV (window); + + return priv->ui_manager; +} + +EmpathyGstAudioSrc * +empathy_call_window_get_audio_src (EmpathyCallWindow *window) +{ + EmpathyCallWindowPriv *priv = GET_PRIV (window); + + return (EmpathyGstAudioSrc *) priv->audio_input; +} diff --git a/src/empathy-call-window.h b/src/empathy-call-window.h index 11237fff6..357d6f160 100644 --- a/src/empathy-call-window.h +++ b/src/empathy-call-window.h @@ -25,6 +25,7 @@ #include <gtk/gtk.h> #include "empathy-call-handler.h" +#include "empathy-audio-src.h" G_BEGIN_DECLS @@ -62,6 +63,10 @@ GType empathy_call_window_get_type (void); EmpathyCallWindow *empathy_call_window_new (EmpathyCallHandler *handler); +GtkUIManager *empathy_call_window_get_ui_manager (EmpathyCallWindow *window); + +EmpathyGstAudioSrc *empathy_call_window_get_audio_src (EmpathyCallWindow *window); + G_END_DECLS #endif /* #ifndef __EMPATHY_CALL_WINDOW_H__*/ |