From e3c822bf3b14a6a769353a35a137a0b0e183ac15 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 18 Mar 2010 15:45:32 +0100 Subject: chat_input_text_buffer_changed_cb: 'priv' is useless --- libempathy-gtk/empathy-chat.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libempathy-gtk') diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 4db9e455c..23e85c844 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -1244,13 +1244,10 @@ static void chat_input_text_buffer_changed_cb (GtkTextBuffer *buffer, EmpathyChat *chat) { - EmpathyChatPriv *priv; GtkTextIter start, end; gchar *str; gboolean spell_checker = FALSE; - priv = GET_PRIV (chat); - if (gtk_text_buffer_get_char_count (buffer) == 0) { chat_composing_stop (chat); } else { -- cgit v1.2.3