# HG changeset patch # User Nathan Walp # Date 1067829312 0 # Node ID 9c7b0148978deb037736fbda044b3823578ef6c3 # Parent ed9c9b9551406feadbbb8caa3022216fa923673c [gaim-migrate @ 8016] this is, of course, what I meant. committer: Tailor Script diff -r ed9c9b955140 -r 9c7b0148978d src/gtkconv.c --- a/src/gtkconv.c Mon Nov 03 01:36:52 2003 +0000 +++ b/src/gtkconv.c Mon Nov 03 03:15:12 2003 +0000 @@ -3935,8 +3935,16 @@ * shown. That's why we get the appearance of a button, without * all the normal button-like properties, like being able to click * it. ;-) --Nathan */ - if (gaim_prefs_get_bool("/gaim/gtk/conversations/close_on_tabs")) - gtk_widget_show_all(gtkconv->close); + if (gaim_prefs_get_bool("/gaim/gtk/conversations/close_on_tabs")) { + GaimConversation *conv; + GaimGtkConversation *gtkconv; + + conv = gaim_conv_window_get_conversation_at(win, 0); + if(conv) { + gtkconv = GAIM_GTK_CONVERSATION(conv); + gtk_widget_show_all(gtkconv->close); + } + } #endif }