im.pidgin.pidgin: 1b3703e5ff3c0f274efc9a1dafdcf940ef9acd72

nosnilmot at pidgin.im nosnilmot at pidgin.im
Fri Oct 12 14:15:32 EDT 2007


-----------------------------------------------------------------
Revision: 1b3703e5ff3c0f274efc9a1dafdcf940ef9acd72
Ancestor: 319079c08c73c8de575e3ec5e10f52ce96d45d35
Author: nosnilmot at pidgin.im
Date: 2007-10-12T18:11:22
Branch: im.pidgin.pidgin

Modified files:
        pidgin/gtknotify.c

ChangeLog: 

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.

-------------- next part --------------
============================================================
--- pidgin/gtknotify.c	b901bf7e4010ebfa742017742f4a9cd929618fa1
+++ pidgin/gtknotify.c	e1197a842740f5d9cc78f8b953d5484c0a9d587c
@@ -740,7 +740,7 @@ pidgin_notify_searchresults(PurpleConnec
 	GtkListStore *model;
 	GtkCellRenderer *renderer;
 	guint col_num;
-	GList *column;
+	GList *columniter;
 	guint i;
 
 	GtkWidget *vbox;
@@ -824,11 +824,12 @@ pidgin_notify_searchresults(PurpleConnec
 					-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++;
 	}
 


More information about the Commits mailing list