mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
- Compiling fixes
- GNOME version isn't anymore build here so you don't need all that GTK and GNOME crap to compile irssi-text. - Some fixes to compile with -ansi -pedantic git-svn-id: http://svn.irssi.org/repos/irssi/trunk@200 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
90ff30fcd0
commit
93d6032151
34 changed files with 524 additions and 535 deletions
|
|
@ -58,7 +58,7 @@ static void statusbar_redraw_line(STATUSBAR_REC *bar)
|
|||
if (!rec->right_justify && xpos+rec->size < COLS) {
|
||||
rec->xpos = xpos;
|
||||
|
||||
func = rec->func;
|
||||
func = (STATUSBAR_FUNC) rec->func;
|
||||
func(rec, bar->ypos);
|
||||
|
||||
if (resized) break;
|
||||
|
|
@ -73,7 +73,7 @@ static void statusbar_redraw_line(STATUSBAR_REC *bar)
|
|||
if (rec->right_justify && rxpos-rec->size > xpos) {
|
||||
rec->xpos = rxpos-rec->size;
|
||||
|
||||
func = rec->func;
|
||||
func = (STATUSBAR_FUNC) rec->func;
|
||||
func(rec, bar->ypos);
|
||||
|
||||
if (resized) break;
|
||||
|
|
@ -131,7 +131,7 @@ void statusbar_item_redraw(SBAR_ITEM_REC *item)
|
|||
|
||||
g_return_if_fail(item != NULL);
|
||||
|
||||
func = item->func;
|
||||
func = (STATUSBAR_FUNC) item->func;
|
||||
func(item, item->bar->ypos);
|
||||
}
|
||||
|
||||
|
|
@ -215,7 +215,7 @@ SBAR_ITEM_REC *statusbar_item_create(STATUSBAR_REC *bar, int size, int right_jus
|
|||
rec->xpos = -1;
|
||||
rec->size = size;
|
||||
rec->right_justify = right_justify;
|
||||
rec->func = func;
|
||||
rec->func = (void *) func;
|
||||
|
||||
return rec;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue