summaryrefslogtreecommitdiffstats
path: root/src/widgets/ruler.h
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2012-04-18 05:14:07 +0000
committerJon A. Cruz <jon@joncruz.org>2012-04-18 05:14:07 +0000
commit45ceeba61818a931fe348da46ebb3bec3d81f994 (patch)
tree999dac3280a9a5ea177fe53af52acc8e34cc2193 /src/widgets/ruler.h
parentWork around for some missing glibmm headers in gtkmm (should be fixed in gtkm... (diff)
downloadinkscape-45ceeba61818a931fe348da46ebb3bec3d81f994.tar.gz
inkscape-45ceeba61818a931fe348da46ebb3bec3d81f994.zip
Fixed conditional code to avoid unused function warnings.
(bzr r11262)
Diffstat (limited to 'src/widgets/ruler.h')
-rw-r--r--src/widgets/ruler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/ruler.h b/src/widgets/ruler.h
index 03eace0cb..0e7d32b2a 100644
--- a/src/widgets/ruler.h
+++ b/src/widgets/ruler.h
@@ -70,8 +70,8 @@ struct _GtkDeprecatedRulerClass
struct _GtkDeprecatedRulerMetric
{
- gchar *metric_name;
- gchar *abbrev;
+ gchar const *metric_name;
+ gchar const *abbrev;
/* This should be points_per_unit. This is the size of the unit
* in 1/72nd's of an inch and has nothing to do with screen pixels */
gdouble pixels_per_unit;