]> git.0d.be Git - empathy.git/commitdiff
empathy_call_window_present(): rename to _new_handler()
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 7 Aug 2013 14:43:13 +0000 (16:43 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 7 Aug 2013 14:48:03 +0000 (16:48 +0200)
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
src/empathy-call-window.h
src/empathy-call.c

index eb39855babb9632c1257b1a78a441b33f76c7ead..711badfc5380cd0ec3e00c1569e93326d7f949bf 100644 (file)
@@ -2454,7 +2454,7 @@ empathy_call_window_new (EmpathyCallHandler *handler)
 }
 
 void
 }
 
 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));
     EmpathyCallHandler *handler)
 {
   g_return_if_fail (EMPATHY_IS_CALL_HANDLER (handler));
index 2090b1beb21132a652bff46f6730ca3f9ca56e86..666071fc974e04fa88cfddcccd99fd6809f012fe 100644 (file)
@@ -62,7 +62,7 @@ GType empathy_call_window_get_type (void);
     EmpathyCallWindowClass))
 
 EmpathyCallWindow *empathy_call_window_new (EmpathyCallHandler *handler);
     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,
   EmpathyCallHandler *handler);
 void empathy_call_window_start_ringing (EmpathyCallWindow *self,
   TpCallChannel *channel,
index 2ed61e333f31c21f47b4d3a361a80f32406ec5c4..4c27a9502bf7c1f7979e96aae142443b0a6fedfe 100644 (file)
@@ -146,7 +146,7 @@ new_call_handler_cb (EmpathyCallFactory *factory,
 
   if (window != NULL)
     {
 
   if (window != NULL)
     {
-      empathy_call_window_present (window, handler);
+      empathy_call_window_new_handler (window, handler);
     }
   else
     {
     }
   else
     {