diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2012-04-18 05:14:07 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2012-04-18 05:14:07 +0000 |
| commit | 45ceeba61818a931fe348da46ebb3bec3d81f994 (patch) | |
| tree | 999dac3280a9a5ea177fe53af52acc8e34cc2193 /src/widgets/ruler.h | |
| parent | Work around for some missing glibmm headers in gtkmm (should be fixed in gtkm... (diff) | |
| download | inkscape-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.h | 4 |
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; |
