1
0
mirror of https://github.com/irssi/irssi.git synced 2024-07-07 02:54:19 -04:00

related changes to textbuffer update..

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1444 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-04-14 22:54:06 +00:00 committed by cras
parent 5d5b9cbc28
commit 0cb1752123
4 changed files with 4 additions and 11 deletions

View File

@ -33,7 +33,6 @@ typedef struct {
int level; /* message level */
GSList *bound_items; /* list of WINDOW_BIND_RECs */
int lines;
unsigned int sticky_refnum:1;
unsigned int destroying:1;

View File

@ -573,13 +573,10 @@ void format_newline(WINDOW_REC *window)
{
g_return_if_fail(window != NULL);
window->lines++;
if (window->lines != 1) {
signal_emit_id(signal_gui_print_text, 6, window,
GINT_TO_POINTER(-1), GINT_TO_POINTER(-1),
GINT_TO_POINTER(PRINTFLAG_NEWLINE),
"", GINT_TO_POINTER(-1));
}
signal_emit_id(signal_gui_print_text, 6, window,
GINT_TO_POINTER(-1), GINT_TO_POINTER(-1),
GINT_TO_POINTER(PRINTFLAG_NEWLINE),
"", GINT_TO_POINTER(-1));
}
/* parse ANSI color string */

View File

@ -377,7 +377,6 @@ static void sig_print_text(TEXT_DEST_REC *dest, const char *text)
msg_beep_check(dest);
dest->window->last_line = time(NULL);
format_newline(dest->window);
/* add timestamp/server tag here - if it's done in print_line()
it would be written to log files too */

View File

@ -57,8 +57,6 @@ static void perl_window_fill_hash(HV *hv, WINDOW_REC *window)
if (window->active_server)
hv_store(hv, "active_server", 13, irssi_bless(window->active_server), 0);
hv_store(hv, "lines", 5, newSViv(window->lines), 0);
hv_store(hv, "level", 5, newSViv(window->level), 0);
hv_store(hv, "data_level", 8, newSViv(window->data_level), 0);
hv_store(hv, "hilight_color", 10, new_pv(window->hilight_color), 0);