diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-07-08 19:46:33 +0800 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-09-08 19:26:25 +0800 |
commit | d5136f90339362d53d780700808dc055fc0a7121 (patch) | |
tree | 32ec6c397399c8d22bee88ffd1f1474cbbc1ceff /src/empathy-call-window.h | |
parent | 44731ebba06458462f5c26fed8fd0abab30e7450 (diff) | |
download | gsoc2013-empathy-d5136f90339362d53d780700808dc055fc0a7121.tar gsoc2013-empathy-d5136f90339362d53d780700808dc055fc0a7121.tar.gz gsoc2013-empathy-d5136f90339362d53d780700808dc055fc0a7121.tar.bz2 gsoc2013-empathy-d5136f90339362d53d780700808dc055fc0a7121.tar.lz gsoc2013-empathy-d5136f90339362d53d780700808dc055fc0a7121.tar.xz gsoc2013-empathy-d5136f90339362d53d780700808dc055fc0a7121.tar.zst gsoc2013-empathy-d5136f90339362d53d780700808dc055fc0a7121.zip |
Reuse Call windows when possible
If we have a call window opened for a contact and we get an
incoming call from the same person, use the existing window
instead of creating another one.
Based on a patch from Jonathan Tellier.
https://bugzilla.gnome.org/show_bug.cgi?id=580794
Diffstat (limited to 'src/empathy-call-window.h')
-rw-r--r-- | src/empathy-call-window.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/empathy-call-window.h b/src/empathy-call-window.h index eebb55f69..81cf170ae 100644 --- a/src/empathy-call-window.h +++ b/src/empathy-call-window.h @@ -63,6 +63,12 @@ GType empathy_call_window_get_type (void); EmpathyCallWindowClass)) EmpathyCallWindow *empathy_call_window_new (EmpathyCallHandler *handler); +void empathy_call_window_present (EmpathyCallWindow *window, + EmpathyCallHandler *handler); +void empathy_call_window_start_ringing (EmpathyCallWindow *self, + TpyCallChannel *channel, + TpChannelDispatchOperation *dispatch_operation, + TpAddDispatchOperationContext *context); GtkUIManager *empathy_call_window_get_ui_manager (EmpathyCallWindow *window); |