# HG changeset patch # User Elliott Sales de Andrade # Date 1318131634 0 # Node ID 295e8b7bb0b5b9d327e20dbcf97dee8ca8fbb6ed # Parent d6b0dc1fe13bbd5b6d73c9cc4b3474e34e01f368 It appears that GtkNotebookPage is deprecated, though the 'switch-page' signal that uses it doesn't seem to have a replacement. Anyway, we don't use that parameter, so we can just leave it as a generic widget. diff -r d6b0dc1fe13b -r 295e8b7bb0b5 pidgin/gtkscrollbook.c --- a/pidgin/gtkscrollbook.c Sun Oct 09 03:35:22 2011 +0000 +++ b/pidgin/gtkscrollbook.c Sun Oct 09 03:40:34 2011 +0000 @@ -147,7 +147,7 @@ } static void -switch_page_cb(GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, PidginScrollBook *scroll_book) +switch_page_cb(GtkNotebook *notebook, GtkWidget *page, guint page_num, PidginScrollBook *scroll_book) { int count; count = gtk_notebook_get_n_pages(GTK_NOTEBOOK(scroll_book->notebook));