# HG changeset patch # User Stu Tomlinson # Date 1192212682 0 # Node ID 38ee359ea4aa3b8e689a4e76e1cf522b9764709e # Parent 73bb2ab128a47bbe930135dd4d71cae49bb25549 Fix pidgin_notify_searchresults to use the actual title for column headers, instead of a pointer to a struct that contains the title. Pango didn't like us doing that. diff -r 73bb2ab128a4 -r 38ee359ea4aa pidgin/gtknotify.c --- a/pidgin/gtknotify.c Fri Oct 12 17:00:13 2007 +0000 +++ b/pidgin/gtknotify.c Fri Oct 12 18:11:22 2007 +0000 @@ -740,7 +740,7 @@ GtkListStore *model; GtkCellRenderer *renderer; guint col_num; - GList *column; + GList *columniter; guint i; GtkWidget *vbox; @@ -824,11 +824,12 @@ -1, "", renderer, "pixbuf", 0, NULL); i = 1; - for (column = results->columns; column != NULL; column = column->next) { + for (columniter = results->columns; columniter != NULL; columniter = columniter->next) { + PurpleNotifySearchColumn *column = columniter->data; renderer = gtk_cell_renderer_text_new(); gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(treeview), -1, - column->data, renderer, "text", i, NULL); + column->title, renderer, "text", i, NULL); i++; }