[mutter] clutter: Remove deprecated/clutter-util.h
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] clutter: Remove deprecated/clutter-util.h
- Date: Fri, 15 Feb 2019 23:10:24 +0000 (UTC)
commit 75071aba68c81dd372ee397996ac8aae2c740234
Author: Adam Jackson <ajax redhat com>
Date: Thu Feb 7 09:41:03 2019 -0500
clutter: Remove deprecated/clutter-util.h
https://gitlab.gnome.org/GNOME/mutter/merge_requests/445
clutter/clutter/clutter-deprecated.h | 1 -
clutter/clutter/clutter-util.c | 23 ----------------
clutter/clutter/deprecated/clutter-texture.c | 1 -
clutter/clutter/deprecated/clutter-util.h | 40 ----------------------------
clutter/clutter/meson.build | 1 -
5 files changed, 66 deletions(-)
---
diff --git a/clutter/clutter/clutter-deprecated.h b/clutter/clutter/clutter-deprecated.h
index 46cbf897a..706ed94f8 100644
--- a/clutter/clutter/clutter-deprecated.h
+++ b/clutter/clutter/clutter-deprecated.h
@@ -37,7 +37,6 @@
#include "deprecated/clutter-texture.h"
#include "deprecated/clutter-timeline.h"
#include "deprecated/clutter-timeout-pool.h"
-#include "deprecated/clutter-util.h"
#undef __CLUTTER_DEPRECATED_H_INSIDE__
diff --git a/clutter/clutter/clutter-util.c b/clutter/clutter/clutter-util.c
index 698cc200b..83e15c041 100644
--- a/clutter/clutter/clutter-util.c
+++ b/clutter/clutter/clutter-util.c
@@ -39,29 +39,6 @@
#include "clutter-interval.h"
#include "clutter-private.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;
-}
-
/* Help macros to scale from OpenGL <-1,1> coordinates system to
* window coordinates ranging [0,window-size]
*/
diff --git a/clutter/clutter/deprecated/clutter-texture.c b/clutter/clutter/deprecated/clutter-texture.c
index f0747595b..07e9c3324 100644
--- a/clutter/clutter/deprecated/clutter-texture.c
+++ b/clutter/clutter/deprecated/clutter-texture.c
@@ -66,7 +66,6 @@
#include "deprecated/clutter-shader.h"
#include "deprecated/clutter-texture.h"
-#include "deprecated/clutter-util.h"
typedef struct _ClutterTextureAsyncData ClutterTextureAsyncData;
diff --git a/clutter/clutter/meson.build b/clutter/clutter/meson.build
index d8387bfde..3f8af2d07 100644
--- a/clutter/clutter/meson.build
+++ b/clutter/clutter/meson.build
@@ -250,7 +250,6 @@ clutter_deprecated_headers = [
'deprecated/clutter-texture.h',
'deprecated/clutter-timeline.h',
'deprecated/clutter-timeout-pool.h',
- 'deprecated/clutter-util.h',
]
clutter_deprecated_sources = [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]