[goffice] Compilation: fix namespace issue
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Compilation: fix namespace issue
- Date: Wed, 20 Nov 2019 18:09:26 +0000 (UTC)
commit b8b00c2cff69e3214f6c3cac020de25cfd0fe753
Author: Morten Welinder <terra gnome org>
Date: Wed Nov 20 13:08:49 2019 -0500
Compilation: fix namespace issue
Drop a few exported symbols that should have been local.
NEWS | 3 +++
goffice/component/go-component-factory.c | 2 +-
goffice/graph/gog-series-labels.c | 2 +-
3 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/NEWS b/NEWS
index 862f33c0..e50158de 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
goffice 0.10.47:
+Morten:
+ * Fix library namespace issue.
+
--------------------------------------------------------------------------
goffice 0.10.46:
diff --git a/goffice/component/go-component-factory.c b/goffice/component/go-component-factory.c
index d7c5fb68..52722317 100644
--- a/goffice/component/go-component-factory.c
+++ b/goffice/component/go-component-factory.c
@@ -112,7 +112,7 @@ typedef struct
typedef GOPluginServiceSimpleClass GOComponentTypeServiceClass;
static GObjectClass *component_type_parent_klass;
-char const *GOPriorityName[] = {
+static char const * const GOPriorityName[] = {
"display",
"print",
"partial",
diff --git a/goffice/graph/gog-series-labels.c b/goffice/graph/gog-series-labels.c
index 1e761109..4a8dd4a6 100644
--- a/goffice/graph/gog-series-labels.c
+++ b/goffice/graph/gog-series-labels.c
@@ -49,7 +49,7 @@ static GObjectClass *series_labels_parent_klass;
* @GOG_SERIES_LABELS_NEAR_ORIGIN: near origin.
**/
-struct {
+static const struct {
char const *label;
GogSeriesLabelsPos pos;
} positions [] =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]