Mercurial > pidgin.yaz
diff finch/libgnt/gnttextview.c @ 18873:7066896f6628
disapproval of revision 'a4ce7b8adf2db74d531c35278fe83247d90ce4b1'
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 11 Aug 2007 04:19:32 +0000 |
parents | 85b155a574a3 |
children | 40c3e3857458 |
line wrap: on
line diff
--- a/finch/libgnt/gnttextview.c Sat Aug 11 04:18:14 2007 +0000 +++ b/finch/libgnt/gnttextview.c Sat Aug 11 04:19:32 2007 +0000 @@ -376,7 +376,6 @@ view->string->len = 0; GNT_WIDGET_SET_FLAGS(GNT_WIDGET(view), GNT_WIDGET_DRAWING); - g_object_set_data(G_OBJECT(view), "resizing", GINT_TO_POINTER(TRUE)); for (; back; back = back->prev) { line = back->data; if (back->next && !line->soft) { @@ -395,7 +394,6 @@ free_text_line(line, NULL); } g_list_free(list); - g_object_set_data(G_OBJECT(view), "resizing", GINT_TO_POINTER(FALSE)); list = view->list = g_list_first(view->list); /* Go back to the line that was in view before resizing started */ @@ -509,8 +507,6 @@ if (text == NULL || *text == '\0') return; - if (!g_object_get_data(G_OBJECT(view), "resizing")) - text = gnt_util_localize_string(text); fl = gnt_text_format_flag_to_chtype(flags); len = view->string->len; @@ -705,7 +701,6 @@ GList *list, *next, *iter, *inext; const int text_length = text ? strlen(text) : 0; int count = 0; - text = gnt_util_localize_string(text); for (list = view->tags; list; list = next) { GntTextTag *tag = list->data; next = list->next;