Mercurial > pidgin
comparison src/gtkconv.c @ 5140:8c71c0727a1c
[gaim-migrate @ 5504]
We shouldn't need this.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 16 Apr 2003 01:28:01 +0000 |
parents | d0182ae31ab8 |
children | f55f87a82311 |
comparison
equal
deleted
inserted
replaced
5139:d0182ae31ab8 | 5140:8c71c0727a1c |
---|---|
1655 /* Make a new window to stick this to. */ | 1655 /* Make a new window to stick this to. */ |
1656 struct gaim_window *new_win; | 1656 struct gaim_window *new_win; |
1657 struct gaim_gtk_window *new_gtkwin; | 1657 struct gaim_gtk_window *new_gtkwin; |
1658 struct gaim_gtk_conversation *gtkconv; | 1658 struct gaim_gtk_conversation *gtkconv; |
1659 gint win_width, win_height; | 1659 gint win_width, win_height; |
1660 gboolean noisy; | |
1661 | 1660 |
1662 gtkconv = GAIM_GTK_CONVERSATION(conv); | 1661 gtkconv = GAIM_GTK_CONVERSATION(conv); |
1663 noisy = gtkconv->make_sound; | |
1664 | 1662 |
1665 new_win = gaim_window_new(); | 1663 new_win = gaim_window_new(); |
1666 | 1664 |
1667 gaim_window_add_conversation(new_win, | 1665 gaim_window_add_conversation(new_win, |
1668 gaim_window_remove_conversation(win, | 1666 gaim_window_remove_conversation(win, |
1669 gaim_conversation_get_index(conv))); | 1667 gaim_conversation_get_index(conv))); |
1670 | |
1671 gtkconv->make_sound = noisy; | |
1672 | 1668 |
1673 new_gtkwin = GAIM_GTK_WINDOW(new_win); | 1669 new_gtkwin = GAIM_GTK_WINDOW(new_win); |
1674 | 1670 |
1675 gtk_window_get_size(GTK_WINDOW(new_gtkwin->window), | 1671 gtk_window_get_size(GTK_WINDOW(new_gtkwin->window), |
1676 &win_width, &win_height); | 1672 &win_width, &win_height); |