mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +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
|
|
@ -181,6 +181,17 @@ void window_set_level(WINDOW_REC *window, int level)
|
|||
signal_emit("window level changed", 1, window);
|
||||
}
|
||||
|
||||
/* return active item's name, or if none is active, window's name */
|
||||
char *window_get_active_name(WINDOW_REC *window)
|
||||
{
|
||||
g_return_val_if_fail(window != NULL, NULL);
|
||||
|
||||
if (window->active != NULL)
|
||||
return window->active->name;
|
||||
|
||||
return window->name;
|
||||
}
|
||||
|
||||
WINDOW_REC *window_find_level(void *server, int level)
|
||||
{
|
||||
WINDOW_REC *match;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue