Mercurial > pidgin.yaz
comparison pidgin/gtkconv.c @ 19681:c35e8c057441
Fix a crash in window-placement.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 10 Sep 2007 04:45:36 +0000 |
parents | 44b4e8bd759b |
children | 6829aa32b16c 6a0d9fa477d4 959b3aaba0b6 |
comparison
equal
deleted
inserted
replaced
19680:44b4e8bd759b | 19681:c35e8c057441 |
---|---|
9024 | 9024 |
9025 gtk_notebook_remove_page(GTK_NOTEBOOK(win->notebook), index); | 9025 gtk_notebook_remove_page(GTK_NOTEBOOK(win->notebook), index); |
9026 | 9026 |
9027 win->gtkconvs = g_list_remove(win->gtkconvs, gtkconv); | 9027 win->gtkconvs = g_list_remove(win->gtkconvs, gtkconv); |
9028 | 9028 |
9029 g_signal_handlers_disconnect_matched(win->window, G_SIGNAL_MATCH_DATA, | |
9030 0, 0, NULL, NULL, gtkconv); | |
9031 | |
9029 if (win->gtkconvs && win->gtkconvs->next == NULL) | 9032 if (win->gtkconvs && win->gtkconvs->next == NULL) |
9030 pidgin_conv_tab_pack(win, win->gtkconvs->data); | 9033 pidgin_conv_tab_pack(win, win->gtkconvs->data); |
9031 | 9034 |
9032 if (!win->gtkconvs && win != hidden_convwin) | 9035 if (!win->gtkconvs && win != hidden_convwin) |
9033 pidgin_conv_window_destroy(win); | 9036 pidgin_conv_window_destroy(win); |