changeset 15056:e8ba9f4a3a7d

[gaim-migrate @ 17840] I'm going to assume this works. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Tue, 28 Nov 2006 21:29:12 +0000
parents 577ddea3ab82
children f227feab8c78
files gtk/gtkscrollbook.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/gtkscrollbook.c	Tue Nov 28 09:18:20 2006 +0000
+++ b/gtk/gtkscrollbook.c	Tue Nov 28 21:29:12 2006 +0000
@@ -114,7 +114,7 @@
 
 
 static void
-page_count_change_cb(GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, GtkGaimScrollBook *scroll_book)
+page_count_change_cb(GtkNotebook *notebook, GtkGaimScrollBook *scroll_book)
 {
 	int index = gtk_notebook_get_current_page(GTK_NOTEBOOK(scroll_book->notebook));
 #if GTK_CHECK_VERSION(2,2,0)
@@ -183,8 +183,8 @@
 	
 	gtk_box_pack_start(GTK_BOX(scroll_book), scroll_book->notebook, TRUE, TRUE, 0);
 	
-	g_signal_connect(G_OBJECT(scroll_book->notebook), "page-added", G_CALLBACK(page_count_change_cb), scroll_book);
-	g_signal_connect(G_OBJECT(scroll_book->notebook), "page-removed", G_CALLBACK(page_count_change_cb), scroll_book);
+	g_signal_connect(G_OBJECT(scroll_book->notebook), "add", G_CALLBACK(page_count_change_cb), scroll_book);
+	g_signal_connect(G_OBJECT(scroll_book->notebook), "remove", G_CALLBACK(page_count_change_cb), scroll_book);
 	g_signal_connect(G_OBJECT(scroll_book->notebook), "switch-page", G_CALLBACK(switch_page_cb), scroll_book);
 	gtk_widget_hide(scroll_book->hbox);
 }