mirror of
https://github.com/brl/mutter.git
synced 2025-02-23 16:34:10 +00:00
2.0: Remove deprecated API from clutter-util.c
This commit is contained in:
parent
270ceebf8d
commit
af21fcc734
@ -45,27 +45,6 @@
|
|||||||
|
|
||||||
#include "deprecated/clutter-util.h"
|
#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 >
|
/*< private >
|
||||||
* _clutter_gettext:
|
* _clutter_gettext:
|
||||||
* @str: a string to localize
|
* @str: a string to localize
|
||||||
|
Loading…
x
Reference in New Issue
Block a user