--- a/pidgin/gtkroomlist.c Wed Jul 18 03:42:42 2012 -0400 +++ b/pidgin/gtkroomlist.c Wed Jul 18 17:56:49 2012 -0400 @@ -352,7 +352,7 @@ #define TOOLTIP_BORDER 12 static gboolean -pidgin_roomlist_paint_tooltip(GtkWidget *widget, gpointer user_data) +pidgin_roomlist_paint_tooltip(GtkWidget *widget, cairo_t *cr, gpointer user_data) { PurpleRoomlist *list = user_data; PidginRoomlist *grl = purple_roomlist_get_ui_data(list); @@ -360,7 +360,6 @@ int current_height, max_width; int max_text_width; GtkTextDirection dir = gtk_widget_get_direction(GTK_WIDGET(grl->tree)); - cairo_t *cr = gdk_cairo_create(gtk_widget_get_window(grl->tipwindow)); style = gtk_widget_get_style(grl->tipwindow); @@ -390,7 +389,6 @@ current_height + grl->tip_name_height, grl->tip_layout); } - cairo_destroy(cr); return FALSE; }