[empathy] chat_input_text_buffer_changed_cb: 'priv' is useless



commit e3c822bf3b14a6a769353a35a137a0b0e183ac15
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Mar 18 15:45:32 2010 +0100

    chat_input_text_buffer_changed_cb: 'priv' is useless

 libempathy-gtk/empathy-chat.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index 4db9e45..23e85c8 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 {



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