comparison src/gtkconv.c @ 4631:1b4d18a6bcf5

[gaim-migrate @ 4928] oops. this is the right way to do it. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 01 Mar 2003 20:30:20 +0000
parents 5cdfd20daa07
children 812148fb2e2f
comparison
equal deleted inserted replaced
4630:5cdfd20daa07 4631:1b4d18a6bcf5
3457 if (!new_ui) 3457 if (!new_ui)
3458 g_object_unref(gtkconv->tab_cont); 3458 g_object_unref(gtkconv->tab_cont);
3459 3459
3460 if (gaim_window_get_conversation_count(win) == 1) 3460 if (gaim_window_get_conversation_count(win) == 1)
3461 update_send_as_selection(win); 3461 update_send_as_selection(win);
3462
3463 gtk_object_sink(GTK_OBJECT(gtkconv->tooltips));
3462 } 3464 }
3463 3465
3464 static void 3466 static void
3465 gaim_gtk_remove_conversation(struct gaim_window *win, 3467 gaim_gtk_remove_conversation(struct gaim_window *win,
3466 struct gaim_conversation *conv) 3468 struct gaim_conversation *conv)
3622 g_free(gtkconv->u.im); 3624 g_free(gtkconv->u.im);
3623 } 3625 }
3624 else if (gaim_conversation_get_type(conv) == GAIM_CONV_CHAT) { 3626 else if (gaim_conversation_get_type(conv) == GAIM_CONV_CHAT) {
3625 g_free(gtkconv->u.chat); 3627 g_free(gtkconv->u.chat);
3626 } 3628 }
3627
3628 g_object_unref(G_OBJECT(gtkconv->tooltips));
3629 3629
3630 g_free(gtkconv); 3630 g_free(gtkconv);
3631 } 3631 }
3632 3632
3633 static void 3633 static void