theme: Get rid of x/y_offset usage when drawing frames

Commit aa65f94c67 that started passing
cairo_t around broke offsets. Since passing cairo_t makes them
unnecessary, this patches removes them rather than fixing them.

This patch changes API.

https://bugzilla.gnome.org/show_bug.cgi?id=630203
This commit is contained in:
Benjamin Otte
2010-09-27 13:55:28 +02:00
parent a2b3f9aeb0
commit b265e8099a
5 changed files with 12 additions and 42 deletions

View File

@@ -1016,7 +1016,6 @@ run_theme_benchmark (void)
meta_theme_draw_frame (global_theme,
widget,
cr,
0, 0,
META_FRAME_TYPE_NORMAL,
get_flags (widget),
client_width, client_height,