GNOME Bugzilla – Bug 539622
use G_DEFINE_BOXED_TYPE
Last modified: 2010-11-04 21:33:13 UTC
as soon as it's available in gobject (bug 449565).
Created attachment 113210 [details] [review] [PATCH] Use G_DEFINE_BOXED_TYPE. pango/fonts.c | 32 ++++++-------------------------- pango/glyphstring.c | 15 +++------------ pango/pango-attributes.c | 15 +++------------ pango/pango-color.c | 15 +++------------ pango/pango-glyph-item.c | 14 +++----------- pango/pango-item.c | 14 +++----------- pango/pango-language.c | 14 +++----------- pango/pango-layout.c | 29 ++++++----------------------- pango/pango-matrix.c | 15 +++------------ pango/pango-tabs.c | 14 +++----------- 10 files changed, 36 insertions(+), 141 deletions(-)
Good to go when glib patch lands.
That's what dependencies are for ;-)
Created attachment 168143 [details] [review] Use G_DEFINE_BOXED_TYPE. Bug #539622.
Thanks! Please commit as soon as there is a glib version released with the macro.
It's in 2.26. Ok to commit this now?
Yep. Rip them all out!
Pushed to master.