summaryrefslogtreecommitdiff
path: root/gtk/gtkruler.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2006-04-03 01:41:38 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2006-04-03 01:41:38 +0000
commit58daa1a3f251f4d04783fb4ded9048ae919d83a7 (patch)
treed4a9cd58e7490c6a9cebdcab3c52a302d3e5b322 /gtk/gtkruler.c
parentd86b57208fca3667ec4b9fe117b0a11582b510a4 (diff)
downloadgdk-pixbuf-58daa1a3f251f4d04783fb4ded9048ae919d83a7.tar.gz
Remove unused strings from the ruler_metrics structs, to avoid
2006-04-02 Matthias Clasen <mclasen@redhat.com> * gtk/gtkruler.c: Remove unused strings from the ruler_metrics structs, to avoid relocations. (#336917, Stephane Chauveau)
Diffstat (limited to 'gtk/gtkruler.c')
-rw-r--r--gtk/gtkruler.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkruler.c b/gtk/gtkruler.c
index 625b7787f..ccc9b86be 100644
--- a/gtk/gtkruler.c
+++ b/gtk/gtkruler.c
@@ -61,9 +61,9 @@ static GtkWidgetClass *parent_class;
static const GtkRulerMetric ruler_metrics[] =
{
- {"Pixels", "Pi", 1.0, { 1, 2, 5, 10, 25, 50, 100, 250, 500, 1000 }, { 1, 5, 10, 50, 100 }},
- {"Inches", "In", 72.0, { 1, 2, 4, 8, 16, 32, 64, 128, 256, 512 }, { 1, 2, 4, 8, 16 }},
- {"Centimeters", "Cn", 28.35, { 1, 2, 5, 10, 25, 50, 100, 250, 500, 1000 }, { 1, 5, 10, 50, 100 }},
+ { NULL, NULL, 1.0, { 1, 2, 5, 10, 25, 50, 100, 250, 500, 1000 }, { 1, 5, 10, 50, 100 }},
+ { NULL, NULL, 72.0, { 1, 2, 4, 8, 16, 32, 64, 128, 256, 512 }, { 1, 2, 4, 8, 16 }},
+ { NULL, NULL, 28.35, { 1, 2, 5, 10, 25, 50, 100, 250, 500, 1000 }, { 1, 5, 10, 50, 100 }},
};