[goffice] Compilation: avoid // comments.
- From: Morten Welinder <mortenw src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [goffice] Compilation: avoid // comments.
- Date: Wed, 16 Sep 2009 20:32:50 +0000 (UTC)
commit 604131f60dca1b756d5bb4ad92c2799bea158b7f
Author: Morten Welinder <terra gnome org>
Date: Wed Sep 16 16:30:55 2009 -0400
Compilation: avoid // comments.
Note: we can't even use // within #if 0. (Because comments are so
low-level that we can't know if we are inside #if 0.)
goffice/goffice.c | 3 ++-
goffice/graph/gog-chart-map.c | 1 -
goffice/graph/gog-guru.c | 4 +++-
plugins/plot_distrib/gog-boxplot.c | 2 +-
4 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/goffice/goffice.c b/goffice/goffice.c
index 4e40598..0336fbd 100644
--- a/goffice/goffice.c
+++ b/goffice/goffice.c
@@ -52,7 +52,8 @@
#ifdef G_OS_WIN32
#define STRICT
-#include <windows.h> // pickup HMODULE
+/* pickup HMODULE */
+#include <windows.h>
#undef STRICT
#endif
diff --git a/goffice/graph/gog-chart-map.c b/goffice/graph/gog-chart-map.c
index 80c89e1..0a4f9ff 100644
--- a/goffice/graph/gog-chart-map.c
+++ b/goffice/graph/gog-chart-map.c
@@ -249,7 +249,6 @@ make_path_spline (GogChartMap *map,
double u, v;
double yy, yy_min, yy_max;
gboolean is_inverted;
- //struct GOCSpline *splinex, *spliney;
GOBezierSpline *spline;
path = go_path_new ();
diff --git a/goffice/graph/gog-guru.c b/goffice/graph/gog-guru.c
index 0fe0a91..2af4d5e 100644
--- a/goffice/graph/gog-guru.c
+++ b/goffice/graph/gog-guru.c
@@ -208,7 +208,9 @@ graph_typeselect_minor_x_y (GraphGuruTypeSelector *typesel,
if (item != NULL) {
if(item != typesel->selector)
graph_typeselect_minor (typesel, item);
- // goc_item_grab (item);
+#if 0
+ goc_item_grab (item);
+#endif
return TRUE;
}
diff --git a/plugins/plot_distrib/gog-boxplot.c b/plugins/plot_distrib/gog-boxplot.c
index a779452..6dd5bbd 100644
--- a/plugins/plot_distrib/gog-boxplot.c
+++ b/plugins/plot_distrib/gog-boxplot.c
@@ -177,7 +177,7 @@ typedef struct {
GogSeries base;
int gap_percentage;
double vals[5];
- double *svals; //sorted data
+ double *svals; /* sorted data */
int nb_valid;
} GogBoxPlotSeries;
typedef GogSeriesClass GogBoxPlotSeriesClass;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]