[dia] [warningectomy] shadow variable and different const qualifiers
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] [warningectomy] shadow variable and different const qualifiers
- Date: Sun, 19 Jun 2011 18:22:23 +0000 (UTC)
commit b6e44c4ad91081249965c78f656e8bf63a8756bb
Author: Hans Breuer <hans breuer org>
Date: Sun Jun 19 13:21:28 2011 +0200
[warningectomy] shadow variable and different const qualifiers
objects/Misc/measure.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/objects/Misc/measure.c b/objects/Misc/measure.c
index 4c07af5..c10a575 100644
--- a/objects/Misc/measure.c
+++ b/objects/Misc/measure.c
@@ -94,7 +94,7 @@ static void measure_update_data (Measure *measure);
static void measure_destroy (Measure *measure);
static DiaMenu *measure_get_object_menu(Measure *measure,
Point *clickedpoint);
-static PropDescription *measure_describe_props(Measure *measure);
+static const PropDescription *measure_describe_props(Measure *measure);
static void measure_get_props(Measure *measure, GPtrArray *props);
static void measure_set_props(Measure *measure, GPtrArray *props);
@@ -278,7 +278,7 @@ measure_draw(Measure *measure, DiaRenderer *renderer)
&measure->line_color);
}
/*! A standard props compliant object needs to describe its parameters */
-static PropDescription *
+static const PropDescription *
measure_describe_props (Measure *measure)
{
if (measure_props[0].quark == 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]