From 58505161bcc63ba91190f6b38a3c52c0c564ca32 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 22 Jun 2007 10:47:42 +0000 Subject: Rename all filenames starting with "gossip" by "empathy", change namespace 2007-06-22 Xavier Claessens * libempathy/*.[ch]: * libempathy-gtk/*.[ch]: * src/*.[ch]: Rename all filenames starting with "gossip" by "empathy", change namespace of all gossip_*() functions to empathy_*(). Fixes bug #444490 (Mario Danic, Xavier Claessens). svn path=/trunk/; revision=170 --- src/empathy-accounts.c | 4 ++-- src/empathy.c | 38 +++++++++++++++++++------------------- 2 files changed, 21 insertions(+), 21 deletions(-) (limited to 'src') diff --git a/src/empathy-accounts.c b/src/empathy-accounts.c index bc569d315..f5d0b1b40 100644 --- a/src/empathy-accounts.c +++ b/src/empathy-accounts.c @@ -28,7 +28,7 @@ #include #include -#include +#include static void destroy_cb (GtkWidget *dialog, @@ -46,7 +46,7 @@ main (int argc, char *argv[]) gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (), DATADIR G_DIR_SEPARATOR_S "empathy"); - dialog = gossip_accounts_dialog_show (NULL); + dialog = empathy_accounts_dialog_show (NULL); g_signal_connect (dialog, "destroy", G_CALLBACK (destroy_cb), diff --git a/src/empathy.c b/src/empathy.c index 91152daa2..6ca47192d 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -37,17 +37,17 @@ #include #include -#include -#include -#include -#include +#include +#include +#include +#include #include #include #include #include #include -#include -#include +#include +#include #define DEBUG_DOMAIN "EmpathyMain" @@ -58,7 +58,7 @@ static void service_ended_cb (MissionControl *mc, gpointer user_data) { - gossip_debug (DEBUG_DOMAIN, "Mission Control stopped"); + empathy_debug (DEBUG_DOMAIN, "Mission Control stopped"); } static void @@ -67,7 +67,7 @@ operation_error_cb (MissionControl *mc, guint error_code, gpointer user_data) { - gossip_debug (DEBUG_DOMAIN, "Error code %d during operation %d", + empathy_debug (DEBUG_DOMAIN, "Error code %d during operation %d", error_code, operation_id); } @@ -92,7 +92,7 @@ account_enabled_cb (McAccountMonitor *monitor, gchar *unique_name, EmpathyIdle *idle) { - gossip_debug (DEBUG_DOMAIN, "Account enabled: %s", unique_name); + empathy_debug (DEBUG_DOMAIN, "Account enabled: %s", unique_name); start_mission_control (idle); } @@ -103,25 +103,25 @@ new_channel_cb (EmpathyChandler *chandler, MissionControl *mc) { McAccount *account; - GossipChat *chat; + EmpathyChat *chat; gchar *id; account = mission_control_get_account_for_connection (mc, tp_conn, NULL); - id = gossip_get_channel_id (account, tp_chan); - chat = gossip_chat_window_find_chat (account, id); + id = empathy_get_channel_id (account, tp_chan); + chat = empathy_chat_window_find_chat (account, id); g_free (id); if (chat) { /* The chat already exists */ - if (!gossip_chat_is_connected (chat)) { + if (!empathy_chat_is_connected (chat)) { EmpathyTpChat *tp_chat; /* The chat died, give him the new text channel */ tp_chat = empathy_tp_chat_new (account, tp_chan); - gossip_chat_set_tp_chat (chat, tp_chat); + empathy_chat_set_tp_chat (chat, tp_chat); g_object_unref (tp_chat); } - gossip_chat_present (chat); + empathy_chat_present (chat); g_object_unref (account); return; @@ -129,14 +129,14 @@ new_channel_cb (EmpathyChandler *chandler, if (tp_chan->handle_type == TP_HANDLE_TYPE_CONTACT) { /* We have a new private chat channel */ - chat = GOSSIP_CHAT (gossip_private_chat_new (account, tp_chan)); + chat = EMPATHY_CHAT (empathy_private_chat_new (account, tp_chan)); } else if (tp_chan->handle_type == TP_HANDLE_TYPE_ROOM) { /* We have a new group chat channel */ - chat = GOSSIP_CHAT (gossip_group_chat_new (account, tp_chan)); + chat = EMPATHY_CHAT (empathy_group_chat_new (account, tp_chan)); } - gossip_chat_present (GOSSIP_CHAT (chat)); + empathy_chat_present (EMPATHY_CHAT (chat)); g_object_unref (chat); g_object_unref (account); @@ -186,7 +186,7 @@ main (int argc, char *argv[]) /* Setting up MC */ monitor = mc_account_monitor_new (); - mc = gossip_mission_control_new (); + mc = empathy_mission_control_new (); idle = empathy_idle_new (); g_signal_connect (monitor, "account-enabled", G_CALLBACK (account_enabled_cb), -- cgit v1.2.3