GNOME Bugzilla – Bug 729817
GtkCellLayout: allow finding attributes at runtime
Last modified: 2014-05-08 18:12:19 UTC
This will allow e.g. GtkInspector to display attribute mappings.
Created attachment 276165 [details] [review] GtkCellLayout: allow finding attributes at runtime
The patch looks fine and correct for GtkCellLayout/GtkCellArea. One minor nitpick: + if (GTK_CELL_LAYOUT_GET_IFACE (cell_layout)->get_attribute) + return GTK_CELL_LAYOUT_GET_IFACE (cell_layout)->get_attribute (cell_layout, cell, attribute); The check is unneeded since you provide a default implementation, I wouldnt have mentioned this except that it seems to be inconsistent with the rest of gtkcelllayout.c so maybe better to follow the style there.
Created attachment 276185 [details] [review] GtkCellArea: allow finding attributes at runtime This will allow e.g. GtkInspector to display attribute mappings. http://bugzilla.gnome.org/show_bug.cgi?id=729817
Attachment 276185 [details] pushed as f4d02bd - GtkCellArea: allow finding attributes at runtime