From f28debea9fe92f32a0faa9954af06cab15825df3 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 14 Jul 2010 11:32:02 +0200 Subject: Disable /query and /msg commands for now (#624268) This avoid to crash while bug 623682 hasn't been fixed. --- libempathy-gtk/empathy-chat.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 17a742ca0..edb132936 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -632,6 +632,7 @@ typedef struct { gchar *message; } ChatCommandMsgData; +#if 0 static void chat_command_msg_cb (EmpathyDispatchOperation *dispatch, const GError *error, @@ -661,6 +662,7 @@ OUT: g_free (data->message); g_slice_free (ChatCommandMsgData, data); } +#endif static void chat_command_clear (EmpathyChat *chat, @@ -722,6 +724,7 @@ chat_command_join (EmpathyChat *chat, g_strfreev (rooms); } +#if 0 static void chat_command_msg_internal (EmpathyChat *chat, const gchar *contact_id, @@ -758,6 +761,7 @@ chat_command_msg (EmpathyChat *chat, { chat_command_msg_internal (chat, strv[1], strv[2]); } +#endif static void chat_command_nick (EmpathyChat *chat, @@ -829,11 +833,14 @@ static ChatCommandItem commands[] = { {"j", 2, 2, chat_command_join, N_("/j : join a new chat room")}, +#if 0 +/* FIXME: https://bugzilla.gnome.org/show_bug.cgi?id=623682 */ {"query", 2, 3, chat_command_query, N_("/query []: open a private chat")}, {"msg", 3, 3, chat_command_msg, N_("/msg : open a private chat")}, +#endif {"nick", 2, 2, chat_command_nick, N_("/nick : change your nickname on the current server")}, -- cgit v1.2.3