From 1d448e21f4b4d8caa3b08696586dba6be2ecf098 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 7 Aug 2013 16:43:13 +0200 Subject: 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 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 { -- cgit v1.2.3