r23175 - gnucash/trunk/src/gnome - Fix bug 699450
Mike Evans
mikee at code.gnucash.org
Wed Sep 18 05:40:45 EDT 2013
Author: mikee
Date: 2013-09-18 05:40:44 -0400 (Wed, 18 Sep 2013)
New Revision: 23175
Trac: http://svn.gnucash.org/trac/changeset/23175
Modified:
gnucash/trunk/src/gnome/gnc-budget-view.c
Log:
Fix bug 699450
* Remove extra call to gtk_tree_view_append_column. (It is already
called in gnc_tree_view_account_add_custom_column.)
Author: Robert Ratliff <ratliff.bobby at gmail.com>
Modified: gnucash/trunk/src/gnome/gnc-budget-view.c
===================================================================
--- gnucash/trunk/src/gnome/gnc-budget-view.c 2013-09-17 23:26:10 UTC (rev 23174)
+++ gnucash/trunk/src/gnome/gnc-budget-view.c 2013-09-18 09:40:44 UTC (rev 23175)
@@ -1007,6 +1007,7 @@
GtkTreeViewColumn *col;
GList *col_list;
GList *totals_col_list;
+ ENTER("view %p", view);
g_return_if_fail(view != NULL);
priv = GNC_BUDGET_VIEW_GET_PRIVATE(view);
@@ -1058,7 +1059,7 @@
col = gbv_create_totals_column(view, num_periods_visible);
if (col != NULL)
{
- gtk_tree_view_append_column(priv->totals_tree_view, col);
+ /*gtk_tree_view_append_column(priv->totals_tree_view, col);*/
totals_col_list = g_list_append(totals_col_list, col);
}
@@ -1077,10 +1078,11 @@
col = gbv_create_totals_column(view, -1);
if (col != NULL)
{
- gtk_tree_view_append_column(priv->totals_tree_view, col);
+ /*gtk_tree_view_append_column(priv->totals_tree_view, col);*/
}
}
gbv_refresh_col_titles(view);
+ LEAVE(" ");
}
More information about the gnucash-changes
mailing list