--- src/lxterminal.c.old 2011-06-12 19:17:18.000000000 +0400 +++ src/lxterminal.c 2011-06-13 14:51:32.742905187 +0400 @@ -97,7 +97,7 @@ /* Window creation, destruction, and control. */ static gboolean terminal_window_size_request_event(GtkWidget * widget, GtkRequisition * requisition, LXTerminal * terminal); static void terminal_window_set_fixed_size(LXTerminal * terminal); -static void terminal_switch_page_event(GtkNotebook * notebook, guint num, LXTerminal * terminal); +static void terminal_switch_page_event(GtkNotebook * notebook, GtkNotebookPage * page, guint num, LXTerminal * terminal); static void terminal_window_title_changed_event(GtkWidget * vte, Term * term); static void terminal_window_exit(LXTerminal * terminal, GObject * where_the_object_was); static void terminal_child_exited_event(VteTerminal * vte, Term * term); @@ -680,7 +680,7 @@ } /* Handler for "switch-page" event on the tab notebook. */ -static void terminal_switch_page_event(GtkNotebook * notebook, guint num, LXTerminal * terminal) +static void terminal_switch_page_event(GtkNotebook * notebook, GtkNotebookPage * page, guint num, LXTerminal * terminal) { if (terminal->terms->len > num) {