goffice r2265 - in trunk: . plugins/plot_distrib
- From: jbrefort svn gnome org
- To: svn-commits-list gnome org
- Subject: goffice r2265 - in trunk: . plugins/plot_distrib
- Date: Fri, 7 Nov 2008 13:04:03 +0000 (UTC)
Author: jbrefort
Date: Fri Nov 7 13:04:02 2008
New Revision: 2265
URL: http://svn.gnome.org/viewvc/goffice?rev=2265&view=rev
Log:
2008-11-07 Jean Brefort <jean brefort normalesup org>
* plugins/plot_distrib/go-distribution-prefs.c:
(go_distribution_pref_new): fixed a memory leak.
Modified:
trunk/ChangeLog
trunk/plugins/plot_distrib/go-distribution-prefs.c
Modified: trunk/plugins/plot_distrib/go-distribution-prefs.c
==============================================================================
--- trunk/plugins/plot_distrib/go-distribution-prefs.c (original)
+++ trunk/plugins/plot_distrib/go-distribution-prefs.c Fri Nov 7 13:04:02 2008
@@ -122,8 +122,7 @@
gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (w), renderer,
"text", 0,
NULL);
- renderer = gtk_cell_renderer_text_new ();
- for (i =0 ; i < GO_DISTRIBUTION_MAX; i++) {
+ for (i = 0; i < GO_DISTRIBUTION_MAX; i++) {
gtk_list_store_append (model, &iter);
gtk_list_store_set (model, &iter, 0, _(go_distribution_type_to_string (i)), 1, i, -1);
if (i == dist_type)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]