From 5df09dc595472261870b675079c21d1e5f6a2f3d Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Feb 22 2010 11:56:26 +0000 Subject: Fix patch for older code --- diff --git a/0001-Use-non-deprecated-function-instead-of-cogl_clip_pus.patch b/0001-Use-non-deprecated-function-instead-of-cogl_clip_pus.patch index 680bd6e..286f5b7 100644 --- a/0001-Use-non-deprecated-function-instead-of-cogl_clip_pus.patch +++ b/0001-Use-non-deprecated-function-instead-of-cogl_clip_pus.patch @@ -20,8 +20,8 @@ index bcc27de..c6a9915 100644 - cogl_clip_push (0, 0, width, height); + cogl_clip_push_rectangle (0, 0, width, height); - cogl_translate ((int)(0.5 + x_align_factor * (width - child_width)), - (int)(0.5 + y_align_factor * (height - child_height)), + cogl_translate ((int)(0.5 + x_align * (width - child_width)), + (int)(0.5 + y_align * (height - child_height)), 0); diff --git a/src/st/st-box-layout.c b/src/st/st-box-layout.c index 5062c07..8d2cb58 100644