pidgin/gtkconv.c

branch
release-2.x.y
changeset 41420
6fe6bf9a695b
parent 41343
0c87a5831aa3
child 42808
210f318db492
equal deleted inserted replaced
41419:e53e50de3444 41420:6fe6bf9a695b
9804 0, 0, NULL, NULL, gtkconv); 9804 0, 0, NULL, NULL, gtkconv);
9805 9805
9806 if (win->gtkconvs && win->gtkconvs->next == NULL) 9806 if (win->gtkconvs && win->gtkconvs->next == NULL)
9807 pidgin_conv_tab_pack(win, win->gtkconvs->data); 9807 pidgin_conv_tab_pack(win, win->gtkconvs->data);
9808 9808
9809 if (!win->gtkconvs && win != hidden_convwin)
9810 pidgin_conv_window_destroy(win);
9811
9812 for (gtkconvs = win->gtkconvs; gtkconvs != NULL; gtkconvs = gtkconvs->next) { 9809 for (gtkconvs = win->gtkconvs; gtkconvs != NULL; gtkconvs = gtkconvs->next) {
9813 gtkconvs_data = gtkconvs->data; 9810 gtkconvs_data = gtkconvs->data;
9814 if(gtkconvs_data != NULL) { 9811 if(gtkconvs_data != NULL) {
9815 g_object_set_data(G_OBJECT(gtkconvs_data->imhtml), "resize-count", 9812 g_object_set_data(G_OBJECT(gtkconvs_data->imhtml), "resize-count",
9816 GINT_TO_POINTER(0)); 9813 GINT_TO_POINTER(0));
9817 } 9814 }
9818 } 9815 }
9816
9817 if (!win->gtkconvs && win != hidden_convwin)
9818 pidgin_conv_window_destroy(win);
9819 } 9819 }
9820 9820
9821 PidginConversation * 9821 PidginConversation *
9822 pidgin_conv_window_get_gtkconv_at_index(const PidginWindow *win, int index) 9822 pidgin_conv_window_get_gtkconv_at_index(const PidginWindow *win, int index)
9823 { 9823 {

mercurial