meta/boxes: typedef cairo_rectangle_int_t MetaRectangle

They are already effectively interchangeable so this should reduce
pointless casts.

Just like in GDK though, we need to keep the old definition for
instrospection to be able to include the struct's fields.
This commit is contained in:
Rui Matos
2016-06-12 18:38:35 +02:00
parent 0745734ba5
commit daf5a112fb
5 changed files with 16 additions and 22 deletions

View File

@ -215,6 +215,4 @@ GList* meta_rectangle_find_nonintersected_monitor_edges (
const GList *monitor_rects,
const GSList *all_struts);
cairo_rectangle_int_t meta_rectangle_to_cairo_rectangle (MetaRectangle *rect);
#endif /* META_BOXES_PRIVATE_H */