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:
parent
741993e0b1
commit
80634a30b9
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue