diff options
-rw-r--r-- | src/empathy-call-window.c | 8 | ||||
-rw-r--r-- | src/empathy-call-window.h | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index f5551f566..c17bb649e 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -1103,8 +1103,8 @@ create_video_preview (EmpathyCallWindow *self) clutter_actor_set_reactive (preview, TRUE); } -static void -play_camera (EmpathyCallWindow *window, +void +empathy_call_window_play_camera (EmpathyCallWindow *window, gboolean play) { EmpathyCallWindowPriv *priv = GET_PRIV (window); @@ -1140,7 +1140,7 @@ display_video_preview (EmpathyCallWindow *self, /* Display the video preview */ DEBUG ("Show video preview"); - play_camera (self, TRUE); + empathy_call_window_play_camera (self, TRUE); clutter_actor_show (priv->video_preview); clutter_actor_raise_top (priv->floating_toolbar); } @@ -1152,7 +1152,7 @@ display_video_preview (EmpathyCallWindow *self, if (priv->video_preview != NULL) { clutter_actor_hide (priv->video_preview); - play_camera (self, FALSE); + empathy_call_window_play_camera (self, FALSE); } } } diff --git a/src/empathy-call-window.h b/src/empathy-call-window.h index 912a79173..eebb55f69 100644 --- a/src/empathy-call-window.h +++ b/src/empathy-call-window.h @@ -69,6 +69,9 @@ GtkUIManager *empathy_call_window_get_ui_manager (EmpathyCallWindow *window); EmpathyGstAudioSrc *empathy_call_window_get_audio_src (EmpathyCallWindow *window); EmpathyGstVideoSrc *empathy_call_window_get_video_src (EmpathyCallWindow *window); +void empathy_call_window_play_camera (EmpathyCallWindow *self, + gboolean play); + G_END_DECLS #endif /* #ifndef __EMPATHY_CALL_WINDOW_H__*/ |