pango/Makefile.am, pango/fonts.c, pango/glyphstring.c,
authorBehdad Esfahbod <behdad@gnome.org>
Thu, 5 Jan 2006 16:14:49 +0000 (16:14 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Thu, 5 Jan 2006 16:14:49 +0000 (16:14 +0000)
2006-01-05  Behdad Esfahbod  <behdad@gnome.org>

        * pango/Makefile.am,
        * pango/fonts.c,
        * pango/glyphstring.c,
        * pango/pango-attributes.c,
        * pango/pango-color.c,
        * pango/pango-impl-utils.h,
        * pango/pango-item.c,
        * pango/pango-layout.c,
        * pango/pango-tabs.c,
        * pango/pango-utils.c,
        * pango/pango-utils.h,
        * pango/pangoatsui-fontmap.c,
        * pango/pangocairo-font.c,
        * pango/pangocairo-fontmap.c,
        * pango/pangofc-fontmap.c,
        * pango/pangowin32-fontmap.c,
        * pango/pangox-fontmap.c,
        * pango/pangox.c,
        * pango/opentype/pango-ot-info.c,
        * pango/opentype/pango-ot-ruleset.c: Intern strings to avoid
        unnecessary strdups in the type system. (bug #325832, Matthias Clasen)

src/pango-ot-info.c
src/pango-ot-ruleset.c

index 57ecd27..87a2a4e 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include "pango-ot-private.h"
+#include "../pango-utils.h"
 #include "ftglue.h"
 #include FT_MODULE_H
 
@@ -57,7 +58,7 @@ pango_ot_info_get_type (void)
       };
       
       object_type = g_type_register_static (G_TYPE_OBJECT,
-                                            "PangoOTInfo",
+                                            I_("PangoOTInfo"),
                                             &object_info, 0);
     }
   
index 2312658..b61a28e 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <pango/pango-ot.h>
 #include "pango-ot-private.h"
+#include "../pango-utils.h"
 
 typedef struct _PangoOTRule PangoOTRule;
 
@@ -59,7 +60,7 @@ pango_ot_ruleset_get_type (void)
       };
       
       object_type = g_type_register_static (G_TYPE_OBJECT,
-                                            "PangoOTRuleset",
+                                            I_("PangoOTRuleset"),
                                             &object_info, 0);
     }