[clutter/clutter-1.99: 9/11] [2.0] Remove deprecated clutter_util public API



commit 6fb5aa42dd257785e0ee129741c4ad5c229b4259
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Thu Jun 16 16:44:57 2011 +0100

    [2.0] Remove deprecated clutter_util public API

 clutter/Makefile.am               |    1 -
 clutter/clutter-stage.c           |    1 -
 clutter/clutter-texture.c         |    1 -
 clutter/clutter-util.c            |   29 -------------------------
 clutter/clutter-util.h            |   43 -------------------------------------
 clutter/clutter.h                 |    1 -
 clutter/cogl/clutter-stage-cogl.c |    1 -
 7 files changed, 0 insertions(+), 77 deletions(-)
---
diff --git a/clutter/Makefile.am b/clutter/Makefile.am
index c1dbe98..9d83604 100644
--- a/clutter/Makefile.am
+++ b/clutter/Makefile.am
@@ -118,7 +118,6 @@ source_h =					\
 	$(srcdir)/clutter-timeline.h 		\
 	$(srcdir)/clutter-types.h		\
 	$(srcdir)/clutter-units.h 		\
-	$(srcdir)/clutter-util.h 		\
 	$(NULL)
 
 source_c = \
diff --git a/clutter/clutter-stage.c b/clutter/clutter-stage.c
index ae04fc7..a032e5c 100644
--- a/clutter/clutter-stage.c
+++ b/clutter/clutter-stage.c
@@ -75,7 +75,6 @@
 #include "clutter-profile.h"
 #include "clutter-stage-manager-private.h"
 #include "clutter-stage-private.h"
-#include "clutter-util.h"
 #include "clutter-version.h" 	/* For flavour */
 #include "clutter-private.h"
 
diff --git a/clutter/clutter-texture.c b/clutter/clutter-texture.c
index 4a91706..167a463 100644
--- a/clutter/clutter-texture.c
+++ b/clutter/clutter-texture.c
@@ -55,7 +55,6 @@
 #include "clutter-private.h"
 #include "clutter-scriptable.h"
 #include "clutter-stage-private.h"
-#include "clutter-util.h"
 
 static void clutter_scriptable_iface_init (ClutterScriptableIface *iface);
 
diff --git a/clutter/clutter-util.c b/clutter/clutter-util.c
index 46e88d2..68354e2 100644
--- a/clutter/clutter-util.c
+++ b/clutter/clutter-util.c
@@ -23,43 +23,14 @@
  *
  */
 
-/**
- * SECTION:clutter-util
- * @short_description: Utility functions
- *
- * Various miscellaneous utilility functions.
- */
-
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
 #include <glib/gi18n-lib.h>
 
-#include "clutter-util.h"
 #include "clutter-main.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
diff --git a/clutter/clutter.h b/clutter/clutter.h
index bc59edf..054211d 100644
--- a/clutter/clutter.h
+++ b/clutter/clutter.h
@@ -99,7 +99,6 @@
 #include "clutter-timeline.h"
 #include "clutter-types.h"
 #include "clutter-units.h"
-#include "clutter-util.h"
 #include "clutter-version.h"
 
 #include "clutter-enum-types.h"
diff --git a/clutter/cogl/clutter-stage-cogl.c b/clutter/cogl/clutter-stage-cogl.c
index 1e3fe29..a4f021c 100644
--- a/clutter/cogl/clutter-stage-cogl.c
+++ b/clutter/cogl/clutter-stage-cogl.c
@@ -41,7 +41,6 @@
 #include "clutter-private.h"
 #include "clutter-actor-private.h"
 #include "clutter-stage-private.h"
-#include "clutter-util.h"
 
 #ifdef COGL_HAS_X11_SUPPORT
 static ClutterStageWindowIface *clutter_stage_window_parent_iface = NULL;



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