pidgin/gtkconv.c

changeset 39679
d92c0c3cd283
parent 39603
98fd85e156e0
child 39681
f4ebcc715447
equal deleted inserted replaced
39667:87a02616f3c5 39679:d92c0c3cd283
2454 l = pidgin_conv_get_tab_icons(conv); 2454 l = pidgin_conv_get_tab_icons(conv);
2455 2455
2456 gtk_window_set_icon_list(GTK_WINDOW(win->window), l); 2456 gtk_window_set_icon_list(GTK_WINDOW(win->window), l);
2457 } 2457 }
2458 } 2458 }
2459
2460 #if 0
2461 /* This gets added as an idle handler when doing something that
2462 * redraws the icon. It sets the auto_resize gboolean to TRUE.
2463 * This way, when the size_allocate callback gets triggered, it notices
2464 * that this is an autoresize, and after the main loop iterates, it
2465 * gets set back to FALSE
2466 */
2467 static gboolean reset_auto_resize_cb(gpointer data)
2468 {
2469 PidginConversation *gtkconv = (PidginConversation *)data;
2470 gtkconv->auto_resize = FALSE;
2471 return FALSE;
2472 }
2473 #endif
2474 2459
2475 static gboolean 2460 static gboolean
2476 redraw_icon(gpointer data) 2461 redraw_icon(gpointer data)
2477 { 2462 {
2478 PidginConversation *gtkconv = (PidginConversation *)data; 2463 PidginConversation *gtkconv = (PidginConversation *)data;

mercurial