[goffice] plot_barcol: minor cleanup



commit 4074b32d8b458d8aedec614b991dc4c20dde8115
Author: Morten Welinder <terra gnome org>
Date:   Wed Apr 15 13:04:39 2015 -0400

    plot_barcol: minor cleanup

 ChangeLog                        |    5 +++++
 plugins/plot_barcol/gog-minmax.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index cd5bfa5..aeb9838 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-04-15  Morten Welinder  <terra gnome org>
+
+       * plugins/plot_barcol/gog-minmax.c (gog_minmax_plot_class_init):
+       Use GSF_PARAM_STATIC.
+
 2015-04-13  Morten Welinder  <terra gnome org>
 
        * plugins/plot_pie/gog-pie.c (gog_ring_plot_class_init): Persist
diff --git a/plugins/plot_barcol/gog-minmax.c b/plugins/plot_barcol/gog-minmax.c
index ccf7d7e..b54119b 100644
--- a/plugins/plot_barcol/gog-minmax.c
+++ b/plugins/plot_barcol/gog-minmax.c
@@ -227,7 +227,7 @@ gog_minmax_plot_class_init (GogPlot1_5dClass *gog_plot_1_5d_klass)
                        _("Horizontal"),
                        _("Horizontal or vertical lines"),
                        FALSE,
-                       G_PARAM_READWRITE | GO_PARAM_PERSISTENT));
+                       GSF_PARAM_STATIC | G_PARAM_READWRITE | GO_PARAM_PERSISTENT));
        g_object_class_install_property (gobject_klass, MINMAX_PROP_DEFAULT_STYLE_HAS_MARKERS,
                g_param_spec_boolean ("default-style-has-markers",
                        _("Default markers"),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]