aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-08-07 22:43:13 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-08-07 22:48:03 +0800
commit1d448e21f4b4d8caa3b08696586dba6be2ecf098 (patch)
tree5b6973e1d6ac0b791b7d269ef986369fe092c59c /src
parent9a68f9d151f0ecd31a364946f816325037bdaf42 (diff)
downloadgsoc2013-empathy-1d448e21f4b4d8caa3b08696586dba6be2ecf098.tar.gz
gsoc2013-empathy-1d448e21f4b4d8caa3b08696586dba6be2ecf098.tar.zst
gsoc2013-empathy-1d448e21f4b4d8caa3b08696586dba6be2ecf098.zip
empathy_call_window_present(): rename to _new_handler()
The name was miss leading as this function do more than just presenting the window. https://bugzilla.gnome.org/show_bug.cgi?id=705618
Diffstat (limited to 'src')
-rw-r--r--src/empathy-call-window.c2
-rw-r--r--src/empathy-call-window.h2
-rw-r--r--src/empathy-call.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index eb39855ba..711badfc5 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -2454,7 +2454,7 @@ empathy_call_window_new (EmpathyCallHandler *handler)
}
void
-empathy_call_window_present (EmpathyCallWindow *self,
+empathy_call_window_new_handler (EmpathyCallWindow *self,
EmpathyCallHandler *handler)
{
g_return_if_fail (EMPATHY_IS_CALL_HANDLER (handler));
diff --git a/src/empathy-call-window.h b/src/empathy-call-window.h
index 2090b1beb..666071fc9 100644
--- a/src/empathy-call-window.h
+++ b/src/empathy-call-window.h
@@ -62,7 +62,7 @@ GType empathy_call_window_get_type (void);
EmpathyCallWindowClass))
EmpathyCallWindow *empathy_call_window_new (EmpathyCallHandler *handler);
-void empathy_call_window_present (EmpathyCallWindow *window,
+void empathy_call_window_new_handler (EmpathyCallWindow *window,
EmpathyCallHandler *handler);
void empathy_call_window_start_ringing (EmpathyCallWindow *self,
TpCallChannel *channel,
diff --git a/src/empathy-call.c b/src/empathy-call.c
index 2ed61e333..4c27a9502 100644
--- a/src/empathy-call.c
+++ b/src/empathy-call.c
@@ -146,7 +146,7 @@ new_call_handler_cb (EmpathyCallFactory *factory,
if (window != NULL)
{
- empathy_call_window_present (window, handler);
+ empathy_call_window_new_handler (window, handler);
}
else
{