From b0c60ce77a21ff1a7916f9601aefd6b26d9cc98d Mon Sep 17 00:00:00 2001
From: Robert Bragg <robert@linux.intel.com>
Date: Thu, 5 Nov 2009 10:56:24 +0000
Subject: [PATCH] [clip-stack] stop using deprecated cogl_clip_push_window_rect
 API

try_pushing_rect_as_window_rect now uses the new
cogl_clip_push_window_rectangle API.
---
 cogl/cogl-clip-stack.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cogl/cogl-clip-stack.c b/cogl/cogl-clip-stack.c
index 822fd93b7..cd14fc6cc 100644
--- a/cogl/cogl-clip-stack.c
+++ b/cogl/cogl-clip-stack.c
@@ -481,7 +481,7 @@ try_pushing_rect_as_window_rect (float x_1,
     SWAP (y_1, y_2);
 #undef SWAP
 
-  cogl_clip_push_window_rect (x_1, y_1, x_2 - x_1, y_2 - y_1);
+  cogl_clip_push_window_rectangle (x_1, y_1, x_2 - x_1, y_2 - y_1);
   return TRUE;
 }