[empathy] rename empathy_contact_call_menu_item_new to empathy_contact_audio_call_menu_item_new



commit d68a09b816e8b2c60a9d333a3a6cb9b86f20de89
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon May 18 14:27:06 2009 +0100

    rename empathy_contact_call_menu_item_new to empathy_contact_audio_call_menu_item_new
---
 libempathy-gtk/empathy-contact-menu.c |   10 +++++-----
 libempathy-gtk/empathy-contact-menu.h |    2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/libempathy-gtk/empathy-contact-menu.c b/libempathy-gtk/empathy-contact-menu.c
index 6009f65..4aa2622 100644
--- a/libempathy-gtk/empathy-contact-menu.c
+++ b/libempathy-gtk/empathy-contact-menu.c
@@ -64,7 +64,7 @@ empathy_contact_menu_new (EmpathyContact             *contact,
 
 	/* Call */
 	if (features & EMPATHY_CONTACT_FEATURE_CALL) {
-		item = empathy_contact_call_menu_item_new (contact);
+		item = empathy_contact_audio_call_menu_item_new (contact);
 		gtk_menu_shell_append (shell, item);
 		gtk_widget_show (item);
 	}
@@ -141,7 +141,7 @@ empathy_contact_chat_menu_item_new (EmpathyContact *contact)
 }
 
 static void
-empathy_contact_call_menu_item_activated (GtkMenuItem *item,
+empathy_contact_audio_call_menu_item_activated (GtkMenuItem *item,
 	EmpathyContact *contact)
 {
 	EmpathyCallFactory *factory;
@@ -151,7 +151,7 @@ empathy_contact_call_menu_item_activated (GtkMenuItem *item,
 }
 
 GtkWidget *
-empathy_contact_call_menu_item_new (EmpathyContact *contact)
+empathy_contact_audio_call_menu_item_new (EmpathyContact *contact)
 {
 	GtkWidget *item;
 	GtkWidget *image;
@@ -166,9 +166,9 @@ empathy_contact_call_menu_item_new (EmpathyContact *contact)
 	gtk_widget_show (image);
 
 	g_signal_connect (item, "activate",
-				  G_CALLBACK (empathy_contact_call_menu_item_activated),
+				  G_CALLBACK (empathy_contact_audio_call_menu_item_activated),
 				  contact);
-	
+
 	return item;
 }
 
diff --git a/libempathy-gtk/empathy-contact-menu.h b/libempathy-gtk/empathy-contact-menu.h
index 39ffd55..d2b7e5f 100644
--- a/libempathy-gtk/empathy-contact-menu.h
+++ b/libempathy-gtk/empathy-contact-menu.h
@@ -41,7 +41,7 @@ typedef enum {
 GtkWidget * empathy_contact_menu_new           (EmpathyContact             *contact,
 						EmpathyContactFeatureFlags  features);
 GtkWidget * empathy_contact_chat_menu_item_new (EmpathyContact             *contact);
-GtkWidget * empathy_contact_call_menu_item_new (EmpathyContact             *contact);
+GtkWidget * empathy_contact_audio_call_menu_item_new (EmpathyContact             *contact);
 GtkWidget * empathy_contact_log_menu_item_new  (EmpathyContact             *contact);
 GtkWidget * empathy_contact_info_menu_item_new (EmpathyContact             *contact);
 GtkWidget * empathy_contact_edit_menu_item_new (EmpathyContact             *contact);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]