# HG changeset patch # User Stu Tomlinson # Date 1111281403 0 # Node ID f51e040affc678ec3f9513867031f0868d8a618c # Parent e4d893b126249497de0db0e1ba84a287c396a2e4 [gaim-migrate @ 12284] I think this leaked committer: Tailor Script diff -r e4d893b12624 -r f51e040affc6 src/gtkstatusbox.c --- a/src/gtkstatusbox.c Sun Mar 20 01:14:57 2005 +0000 +++ b/src/gtkstatusbox.c Sun Mar 20 01:16:43 2005 +0000 @@ -112,6 +112,7 @@ char *text, *title; char aa_color[8]; GdkPixbuf *pixbuf; + GtkTreePath *path; GtkStyle *style = gtk_widget_get_style(GTK_WIDGET(status_box)); snprintf(aa_color, sizeof(aa_color), "#%02x%02x%02x", @@ -158,7 +159,9 @@ TITLE_COLUMN, title, DESC_COLUMN, status_box->desc, TYPE_COLUMN, NULL, -1); - gtk_cell_view_set_displayed_row(GTK_CELL_VIEW(status_box->cell_view), gtk_tree_path_new_from_string("0")); + path = gtk_tree_path_new_from_string("0"); + gtk_cell_view_set_displayed_row(GTK_CELL_VIEW(status_box->cell_view), path); + gtk_tree_path_free(path); g_free(text); }