* Sets @value to @fixed_.
*
* Since: 0.8
+ *
+ * Deprecated: 1.10: Use g_value_set_int() instead.
*/
void
clutter_value_set_fixed (GValue *value,
* Return value: the value inside the passed #GValue
*
* Since: 0.8
+ *
+ * Deprecated: 1.10: Use g_value_get_int() instead.
*/
CoglFixed
clutter_value_get_fixed (const GValue *value)
*
* Creates a #GParamSpec for properties using #CoglFixed values
*
- * Return value: the newly created #GParamSpec
+ * Return value: (transfer full): the newly created #GParamSpec
*
* Since: 0.8
+ *
+ * Deprecated: 1.10: Use #GParamSpecInt instead.
*/
GParamSpec *
clutter_param_spec_fixed (const gchar *name,
G_BEGIN_DECLS
+#if !defined(CLUTTER_DISABLE_DEPRECATED) || defined(CLUTTER_COMPILATION)
+
#define CLUTTER_TYPE_PARAM_FIXED (clutter_param_fixed_get_type ())
#define CLUTTER_PARAM_SPEC_FIXED(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), CLUTTER_TYPE_PARAM_FIXED, ClutterParamSpecFixed))
#define CLUTTER_IS_PARAM_SPEC_FIXED(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), CLUTTER_TYPE_PARAM_FIXED))
* Evaluates to %TRUE if @x holds a #CoglFixed .
*
* Since: 0.8
+ *
+ * Deprecated: 1.10: Use %G_VALUE_HOLDS_INT instead
*/
#define CLUTTER_VALUE_HOLDS_FIXED(x) (G_VALUE_HOLDS ((x), COGL_TYPE_FIXED))
* #GParamSpec subclass for fixed point based properties
*
* Since: 0.8
+ *
+ * Deprecated: Use #GParamSpecInt instead
*/
struct _ClutterParamSpecFixed
{
GParamFlags flags);
+#endif /* DISABLE_DEPRECATED */
+
G_END_DECLS
#endif /* __CLUTTER_FIXED_H__ */