[empathy] empathy_call_window_present(): rename to _new_handler()
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] empathy_call_window_present(): rename to _new_handler()
- Date: Wed, 7 Aug 2013 14:53:59 +0000 (UTC)
commit 1d448e21f4b4d8caa3b08696586dba6be2ecf098
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Aug 7 16:43:13 2013 +0200
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
src/empathy-call-window.c | 2 +-
src/empathy-call-window.h | 2 +-
src/empathy-call.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index eb39855..711badf 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 2090b1b..666071f 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 2ed61e3..4c27a95 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
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]