comparison pidgin/gtkblist.c @ 21885:f5d961556972

Refactor some of the tooltip drawing functions. And add some pretend docs. Also, fix a bug where a tooltip would popup when hovering over the treeview headers (in the roomlist, for example).
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 18 Dec 2007 09:17:39 +0000
parents 6bf73aea6450
children 5814ae85e756
comparison
equal deleted inserted replaced
21884:b40a6bb267a1 21885:f5d961556972
2630 g_free(node_name); 2630 g_free(node_name);
2631 g_free(tooltip_text); 2631 g_free(tooltip_text);
2632 return td; 2632 return td;
2633 } 2633 }
2634 2634
2635 static gboolean pidgin_blist_paint_tip(GtkWidget *widget, GdkEventExpose *event, gpointer data) 2635 static gboolean
2636 pidgin_blist_paint_tip(GtkWidget *widget, gpointer null)
2636 { 2637 {
2637 GtkStyle *style; 2638 GtkStyle *style;
2638 int current_height, max_width; 2639 int current_height, max_width;
2639 int max_text_width; 2640 int max_text_width;
2640 int max_avatar_width; 2641 int max_avatar_width;