Get rid of unnecessary casts for g_object_{ref,unref}

Mon Oct 14 15:39:41 2002  Manish Singh  <yosh@gimp.org>

        * 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}
This commit is contained in:
Manish Singh 2002-10-14 22:50:48 +00:00 committed by Manish Singh
parent 741993e0b1
commit 80634a30b9
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}