[clutter] Annotate deprecated get_type() functions
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] Annotate deprecated get_type() functions
- Date: Thu, 3 May 2012 10:37:34 +0000 (UTC)
commit 74afe8bbcdf7d611209c5c09891616eb076328bd
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Thu May 3 11:35:20 2012 +0100
Annotate deprecated get_type() functions
Even if their usage is limited, it's good to consistently deprecate
functions.
clutter/deprecated/clutter-behaviour-depth.h | 1 +
clutter/deprecated/clutter-behaviour-ellipse.h | 1 +
clutter/deprecated/clutter-behaviour-opacity.h | 1 +
clutter/deprecated/clutter-behaviour-path.h | 1 +
clutter/deprecated/clutter-behaviour-rotate.h | 1 +
clutter/deprecated/clutter-behaviour-scale.h | 1 +
clutter/deprecated/clutter-behaviour.h | 1 +
clutter/deprecated/clutter-box.h | 1 +
clutter/deprecated/clutter-rectangle.h | 1 +
clutter/deprecated/clutter-score.h | 1 +
clutter/deprecated/clutter-shader.h | 3 +++
11 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/clutter/deprecated/clutter-behaviour-depth.h b/clutter/deprecated/clutter-behaviour-depth.h
index 2010556..b3b8ae1 100644
--- a/clutter/deprecated/clutter-behaviour-depth.h
+++ b/clutter/deprecated/clutter-behaviour-depth.h
@@ -79,6 +79,7 @@ struct _ClutterBehaviourDepthClass
ClutterBehaviourClass parent_class;
};
+CLUTTER_DEPRECATED_IN_1_6
GType clutter_behaviour_depth_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_6_FOR(clutter_actor_animate and ClutterActor:depth)
diff --git a/clutter/deprecated/clutter-behaviour-ellipse.h b/clutter/deprecated/clutter-behaviour-ellipse.h
index e535869..bd9983f 100644
--- a/clutter/deprecated/clutter-behaviour-ellipse.h
+++ b/clutter/deprecated/clutter-behaviour-ellipse.h
@@ -90,6 +90,7 @@ struct _ClutterBehaviourEllipseClass
ClutterBehaviourClass parent_class;
};
+CLUTTER_DEPRECATED_IN_1_8
GType clutter_behaviour_ellipse_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_8_FOR(clutter_actor_animate)
diff --git a/clutter/deprecated/clutter-behaviour-opacity.h b/clutter/deprecated/clutter-behaviour-opacity.h
index 77b7377..a8beef1 100644
--- a/clutter/deprecated/clutter-behaviour-opacity.h
+++ b/clutter/deprecated/clutter-behaviour-opacity.h
@@ -93,6 +93,7 @@ struct _ClutterBehaviourOpacityClass
ClutterBehaviourClass parent_class;
};
+CLUTTER_DEPRECATED_IN_1_6
GType clutter_behaviour_opacity_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_6_FOR(clutter_actor_animate and ClutterActor:opacity)
diff --git a/clutter/deprecated/clutter-behaviour-path.h b/clutter/deprecated/clutter-behaviour-path.h
index a44f375..f78ebcb 100644
--- a/clutter/deprecated/clutter-behaviour-path.h
+++ b/clutter/deprecated/clutter-behaviour-path.h
@@ -106,6 +106,7 @@ struct _ClutterBehaviourPathClass
void (*_clutter_path_4) (void);
};
+CLUTTER_DEPRECATED_IN_1_6
GType clutter_behaviour_path_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_6_FOR(clutter_actor_animate)
diff --git a/clutter/deprecated/clutter-behaviour-rotate.h b/clutter/deprecated/clutter-behaviour-rotate.h
index 16e5ce9..55f58b3 100644
--- a/clutter/deprecated/clutter-behaviour-rotate.h
+++ b/clutter/deprecated/clutter-behaviour-rotate.h
@@ -76,6 +76,7 @@ struct _ClutterBehaviourRotateClass
ClutterBehaviourClass parent_class;
};
+CLUTTER_DEPRECATED_IN_1_6
GType clutter_behaviour_rotate_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_6_FOR(clutter_actor_animate)
diff --git a/clutter/deprecated/clutter-behaviour-scale.h b/clutter/deprecated/clutter-behaviour-scale.h
index c072234..e3f7797 100644
--- a/clutter/deprecated/clutter-behaviour-scale.h
+++ b/clutter/deprecated/clutter-behaviour-scale.h
@@ -79,6 +79,7 @@ struct _ClutterBehaviourScaleClass
ClutterBehaviourClass parent_class;
};
+CLUTTER_DEPRECATED_IN_1_6
GType clutter_behaviour_scale_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_6_FOR(clutter_actor_animate with ClutterActor:scale-x and ClutterActor:scale-y)
diff --git a/clutter/deprecated/clutter-behaviour.h b/clutter/deprecated/clutter-behaviour.h
index 9e27411..295d1cf 100644
--- a/clutter/deprecated/clutter-behaviour.h
+++ b/clutter/deprecated/clutter-behaviour.h
@@ -134,6 +134,7 @@ struct _ClutterBehaviourClass
void (*_clutter_behaviour6) (void);
};
+CLUTTER_DEPRECATED_IN_1_6
GType clutter_behaviour_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_6
diff --git a/clutter/deprecated/clutter-box.h b/clutter/deprecated/clutter-box.h
index e83f05b..0293aac 100644
--- a/clutter/deprecated/clutter-box.h
+++ b/clutter/deprecated/clutter-box.h
@@ -83,6 +83,7 @@ struct _ClutterBoxClass
void (*clutter_padding_6) (void);
};
+CLUTTER_DEPRECATED_IN_1_10
GType clutter_box_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_new)
diff --git a/clutter/deprecated/clutter-rectangle.h b/clutter/deprecated/clutter-rectangle.h
index 7c05b75..9bae785 100644
--- a/clutter/deprecated/clutter-rectangle.h
+++ b/clutter/deprecated/clutter-rectangle.h
@@ -80,6 +80,7 @@ struct _ClutterRectangleClass
void (*_clutter_rectangle4) (void);
};
+CLUTTER_DEPRECATED_IN_1_10
GType clutter_rectangle_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_new)
diff --git a/clutter/deprecated/clutter-score.h b/clutter/deprecated/clutter-score.h
index 7ede3e1..5a187f4 100644
--- a/clutter/deprecated/clutter-score.h
+++ b/clutter/deprecated/clutter-score.h
@@ -96,6 +96,7 @@ struct _ClutterScoreClass
void (*_clutter_score_5) (void);
};
+CLUTTER_DEPRECATED_IN_1_10
GType clutter_score_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_10
diff --git a/clutter/deprecated/clutter-shader.h b/clutter/deprecated/clutter-shader.h
index 9e2c019..a04b8dd 100644
--- a/clutter/deprecated/clutter-shader.h
+++ b/clutter/deprecated/clutter-shader.h
@@ -105,7 +105,10 @@ struct _ClutterShaderClass
GObjectClass parent_class;
};
+CLUTTER_DEPRECATED_IN_1_8
GQuark clutter_shader_error_quark (void);
+
+CLUTTER_DEPRECATED_IN_1_8
GType clutter_shader_get_type (void) G_GNUC_CONST;
CLUTTER_DEPRECATED_IN_1_8_FOR(ClutterShaderEffect)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]