theme-viewer: Fix invisible borders

https://bugzilla.gnome.org/show_bug.cgi?id=662895
This commit is contained in:
Jasper St. Pierre
2011-10-28 12:17:46 -04:00
parent efc90173b1
commit 0b7f2f8cd3
2 changed files with 10 additions and 10 deletions

View File

@@ -1013,8 +1013,8 @@ run_theme_benchmark (void)
*/
pixmap = gdk_window_create_similar_surface (gtk_widget_get_window (widget),
CAIRO_CONTENT_COLOR,
client_width + borders.visible.left + borders.visible.right,
client_height + borders.visible.top + borders.visible.bottom);
client_width + borders.total.left + borders.total.right,
client_height + borders.total.top + borders.total.bottom);
cr = cairo_create (pixmap);