summaryrefslogtreecommitdiff
path: root/pango/pango-ot-private.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-07-07 17:48:16 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-07-07 17:48:16 +0000
commit35a7c23baabda073fea6da3a593fb718c9ac8c89 (patch)
treed653ba0a0ae44d416ea38c2c071a846c0c44e2cf /pango/pango-ot-private.h
parentd6c52d269cd0675fbd97d51b8ff8591d52f2b577 (diff)
downloadpango-35a7c23baabda073fea6da3a593fb718c9ac8c89.tar.gz
Bug 344766 – Memory leak in get_ruleset() in modules/basic/basic-fc.c
2006-07-07 Behdad Esfahbod <behdad@gnome.org> Bug 344766 – Memory leak in get_ruleset() in modules/basic/basic-fc.c * pango/pango-ot-private.h: Rename PANGO_OT_IS_RULESET is PANGO_IS_OT_RULESET. * pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize), (pango_ot_ruleset_new), (pango_ot_ruleset_add_feature), (pango_ot_ruleset_substitute), (pango_ot_ruleset_position): Use weak pointers to reference ruleset->info, to avoid circular dependency.
Diffstat (limited to 'pango/pango-ot-private.h')
-rw-r--r--pango/pango-ot-private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-ot-private.h b/pango/pango-ot-private.h
index 5e5e7023..e51294f6 100644
--- a/pango/pango-ot-private.h
+++ b/pango/pango-ot-private.h
@@ -59,8 +59,8 @@ struct _PangoOTInfoClass
#define PANGO_TYPE_OT_RULESET (pango_ot_ruleset_get_type ())
#define PANGO_OT_RULESET(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_OT_RULESET, PangoOTRuleset))
#define PANGO_OT_RULESET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_OT_RULESET, PangoOTRulesetClass))f
-#define PANGO_OT_IS_RULESET(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_OT_RULESET))
-#define PANGO_OT_IS_RULESET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_OT_RULESET))
+#define PANGO_IS_OT_RULESET(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_OT_RULESET))
+#define PANGO_IS_OT_RULESET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_OT_RULESET))
#define PANGO_OT_RULESET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_OT_RULESET, PangoOTRulesetClass))
typedef struct _PangoOTRulesetClass PangoOTRulesetClass;