From 80634a30b9abdf575320bc6fdacdba4e1ea3903d Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Mon, 14 Oct 2002 22:50:48 +0000 Subject: [PATCH] Get rid of unnecessary casts for g_object_{ref,unref} Mon Oct 14 15:39:41 2002 Manish Singh * pango/pango-context.c pango/pango-layout.c pango/pangoft2.c pango/pangowin32-fontmap.c pango/pangowin32.c pango/pangox-fontmap.c pango/pangox.c pango/pangoxft-font.c pango/pangoxft-fontmap.c pango/testfonts.c pango/opentype/pango-ot-ruleset.c: Get rid of unnecessary casts for g_object_{ref,unref} --- src/pango-ot-ruleset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pango-ot-ruleset.c b/src/pango-ot-ruleset.c index 02839298a..1fdf734c7 100644 --- a/src/pango-ot-ruleset.c +++ b/src/pango-ot-ruleset.c @@ -90,7 +90,7 @@ pango_ot_ruleset_finalize (GObject *object) PangoOTRuleset *ruleset = PANGO_OT_RULESET (object); g_array_free (ruleset->rules, TRUE); - g_object_unref (G_OBJECT (ruleset->info)); + g_object_unref (ruleset->info); } /** @@ -107,7 +107,7 @@ pango_ot_ruleset_new (PangoOTInfo *info) ruleset = g_object_new (PANGO_TYPE_OT_RULESET, NULL); - ruleset->info = g_object_ref (G_OBJECT (info)); + ruleset->info = g_object_ref (info); return ruleset; }