blob: 4afb5b8a381103985b0b1098a949cc39293db2cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-ac,v 1.1 2005/01/17 20:15:28 kristerw Exp $
--- src/plugins/GUI/gui_chat.c.orig Mon Jan 17 20:43:59 2005
+++ src/plugins/GUI/gui_chat.c Mon Jan 17 20:44:35 2005
@@ -252,6 +252,7 @@
gint chat_type = (gint) ggadu_config_var_get(gui_handler, "chat_type");
gui_chat_session *session = NULL;
GtkWidget *textview = NULL;
+ GtkTextBuffer *buf;
if (chat_type == CHAT_TYPE_TABBED)
{
@@ -267,7 +268,7 @@
textview = g_object_get_data(G_OBJECT(session->chat), "history");
}
- GtkTextBuffer *buf = gtk_text_view_get_buffer(GTK_TEXT_VIEW(textview));
+ buf = gtk_text_view_get_buffer(GTK_TEXT_VIEW(textview));
gtk_text_buffer_set_text(buf, "", -1);
}
|