changeset 15128:1cf62d550a7a

[gaim-migrate @ 17914] Fix the crash I just emailed gaim-devel about. Thanks to sadrul for noticing the fix. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 07 Dec 2006 08:06:48 +0000
parents 47ce7285eb5d
children 8138277e9369
files gtk/gtkscrollbook.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/gtkscrollbook.c	Thu Dec 07 07:05:20 2006 +0000
+++ b/gtk/gtkscrollbook.c	Thu Dec 07 08:06:48 2006 +0000
@@ -184,7 +184,7 @@
 	gtk_box_pack_start(GTK_BOX(scroll_book), scroll_book->notebook, TRUE, TRUE, 0);
 	
 	g_signal_connect_swapped(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_swapped(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);
 }