[clutter/wip/clutter-1.99: 16/36] 2.0: Remove deprecated API from clutter-util.c



commit 4905ce049192470cd1b0de9a6df325820e6978e4
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Fri Aug 24 10:44:04 2012 +0100

    2.0: Remove deprecated API from clutter-util.c

 clutter/clutter-util.c |   21 ---------------------
 1 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/clutter/clutter-util.c b/clutter/clutter-util.c
index 20dd2f9..0fc945d 100644
--- a/clutter/clutter-util.c
+++ b/clutter/clutter-util.c
@@ -45,27 +45,6 @@
 
 #include "deprecated/clutter-util.h"
 
-/**
- * clutter_util_next_p2:
- * @a: Value to get the next power
- *
- * Calculates the nearest power of two, greater than or equal to @a.
- *
- * Return value: The nearest power of two, greater or equal to @a.
- *
- * Deprecated: 1.2
- */
-gint
-clutter_util_next_p2 (gint a)
-{
-  int rval = 1;
-
-  while (rval < a)
-    rval <<= 1;
-
-  return rval;
-}
-
 /*< private >
  * _clutter_gettext:
  * @str: a string to localize



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]