[clutter/clutter-1.18] Annotate symbol visibility in Cally



commit 66826bc6ba8a9fa250210ae16dfbf406d71dce24
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Mar 17 19:26:27 2014 +0000

    Annotate symbol visibility in Cally
    
    Like we did for the main library.

 clutter/cally/cally-actor.h     |   13 +++++++++----
 clutter/cally/cally-clone.c     |    1 +
 clutter/cally/cally-clone.h     |   10 ++++++----
 clutter/cally/cally-group.c     |    2 ++
 clutter/cally/cally-group.h     |    8 +++++---
 clutter/cally/cally-main.h      |    9 +++++++--
 clutter/cally/cally-rectangle.c |    5 +++++
 clutter/cally/cally-rectangle.h |    8 +++++---
 clutter/cally/cally-root.c      |    8 +++++++-
 clutter/cally/cally-root.h      |   10 ++++++----
 clutter/cally/cally-stage.c     |    1 +
 clutter/cally/cally-stage.h     |    8 +++++---
 clutter/cally/cally-text.c      |    2 ++
 clutter/cally/cally-text.h      |   10 ++++++----
 clutter/cally/cally-texture.c   |    5 +++++
 clutter/cally/cally-texture.h   |   10 ++++++----
 clutter/cally/cally-util.h      |    8 +++++---
 17 files changed, 83 insertions(+), 35 deletions(-)
---
diff --git a/clutter/cally/cally-actor.h b/clutter/cally/cally-actor.h
index 415054e..c17c26e 100644
--- a/clutter/cally/cally-actor.h
+++ b/clutter/cally/cally-actor.h
@@ -22,13 +22,13 @@
  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef __CALLY_ACTOR_H__
+#define __CALLY_ACTOR_H__
+
 #if !defined(__CALLY_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
 #error "Only <cally/cally.h> can be included directly."
 #endif
 
-#ifndef __CALLY_ACTOR_H__
-#define __CALLY_ACTOR_H__
-
 #include <atk/atk.h>
 #include <clutter/clutter.h>
 
@@ -126,16 +126,19 @@ struct _CallyActorClass
   gpointer _padding_dummy[32];
 };
 
-
+CLUTTER_AVAILABLE_IN_1_4
 GType      cally_actor_get_type              (void) G_GNUC_CONST;
 
+CLUTTER_AVAILABLE_IN_1_4
 AtkObject* cally_actor_new                   (ClutterActor        *actor);
 
+CLUTTER_AVAILABLE_IN_1_4
 guint      cally_actor_add_action            (CallyActor          *cally_actor,
                                               const gchar         *action_name,
                                               const gchar         *action_description,
                                               const gchar         *action_keybinding,
                                               CallyActionFunc      action_func);
+CLUTTER_AVAILABLE_IN_1_6
 guint      cally_actor_add_action_full       (CallyActor          *cally_actor,
                                               const gchar         *action_name,
                                               const gchar         *action_description,
@@ -144,9 +147,11 @@ guint      cally_actor_add_action_full       (CallyActor          *cally_actor,
                                               gpointer             user_data,
                                               GDestroyNotify       notify);
 
+CLUTTER_AVAILABLE_IN_1_4
 gboolean   cally_actor_remove_action         (CallyActor          *cally_actor,
                                               gint                 action_id);
 
+CLUTTER_AVAILABLE_IN_1_4
 gboolean   cally_actor_remove_action_by_name (CallyActor          *cally_actor,
                                               const gchar         *action_name);
 
diff --git a/clutter/cally/cally-clone.c b/clutter/cally/cally-clone.c
index 3f27049..9672ce3 100644
--- a/clutter/cally/cally-clone.c
+++ b/clutter/cally/cally-clone.c
@@ -69,6 +69,7 @@
  * a11y POV should still be managed as a image (with the proper properties,
  * position, size, etc.).
  */
+#include "config.h"
 
 #include "cally-clone.h"
 #include "cally-actor-private.h"
diff --git a/clutter/cally/cally-clone.h b/clutter/cally/cally-clone.h
index 4e187b9..3a37770 100644
--- a/clutter/cally/cally-clone.h
+++ b/clutter/cally/cally-clone.h
@@ -18,15 +18,15 @@
  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef __CALLY_CLONE_H__
+#define __CALLY_CLONE_H__
+
 #if !defined(__CALLY_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
 #error "Only <cally/cally.h> can be included directly."
 #endif
 
-#ifndef __CALLY_CLONE_H__
-#define __CALLY_CLONE_H__
-
-#include <cally/cally-actor.h>
 #include <clutter/clutter.h>
+#include <cally/cally-actor.h>
 
 G_BEGIN_DECLS
 
@@ -74,7 +74,9 @@ struct _CallyCloneClass
   gpointer _padding_dummy[8];
 };
 
+CLUTTER_AVAILABLE_IN_1_4
 GType      cally_clone_get_type (void) G_GNUC_CONST;
+CLUTTER_AVAILABLE_IN_1_4
 AtkObject *cally_clone_new      (ClutterActor *actor);
 
 G_END_DECLS
diff --git a/clutter/cally/cally-group.c b/clutter/cally/cally-group.c
index f3b1a12..ef633c3 100644
--- a/clutter/cally/cally-group.c
+++ b/clutter/cally/cally-group.c
@@ -38,6 +38,8 @@
  * </itemizedlist>
  */
 
+#include "config.h"
+
 #include "cally-group.h"
 #include "cally-actor-private.h"
 
diff --git a/clutter/cally/cally-group.h b/clutter/cally/cally-group.h
index 0f0bd17..4efd259 100644
--- a/clutter/cally/cally-group.h
+++ b/clutter/cally/cally-group.h
@@ -21,13 +21,13 @@
  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef __CALLY_GROUP_H__
+#define __CALLY_GROUP_H__
+
 #if !defined(__CALLY_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
 #error "Only <cally/cally.h> can be included directly."
 #endif
 
-#ifndef __CALLY_GROUP_H__
-#define __CALLY_GROUP_H__
-
 #include <cally/cally-actor.h>
 #include <clutter/clutter.h>
 
@@ -77,7 +77,9 @@ struct _CallyGroupClass
   gpointer _padding_dummy[8];
 };
 
+CLUTTER_AVAILABLE_IN_1_4
 GType      cally_group_get_type (void) G_GNUC_CONST;
+CLUTTER_AVAILABLE_IN_1_4
 AtkObject* cally_group_new      (ClutterActor *actor);
 
 G_END_DECLS
diff --git a/clutter/cally/cally-main.h b/clutter/cally/cally-main.h
index 00e6136..6293197 100644
--- a/clutter/cally/cally-main.h
+++ b/clutter/cally/cally-main.h
@@ -22,16 +22,21 @@
  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef __CALLY_MAIN_H__
+#define __CALLY_MAIN_H__
+
 #if !defined(__CALLY_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
 #error "Only <cally/cally.h> can be included directly."
 #endif
 
-#ifndef __CALLY_MAIN_H__
-#define __CALLY_MAIN_H__
+#include <glib.h>
+#include <atk/atk.h>
 
 G_BEGIN_DECLS
 
+CLUTTER_AVAILABLE_IN_1_4
 gboolean cally_get_cally_initialized (void);
+CLUTTER_AVAILABLE_IN_1_4
 gboolean cally_accessibility_init    (void);
 
 G_END_DECLS
diff --git a/clutter/cally/cally-rectangle.c b/clutter/cally/cally-rectangle.c
index 51a9863..ec792ef 100644
--- a/clutter/cally/cally-rectangle.c
+++ b/clutter/cally/cally-rectangle.c
@@ -30,11 +30,16 @@
  * In particular it sets a proper role for the rectangle.
  */
 
+#include "config.h"
+
 #define CLUTTER_DISABLE_DEPRECATION_WARNINGS
 
 #include "cally-rectangle.h"
 #include "cally-actor-private.h"
 
+#include "clutter-color.h"
+#include "deprecated/clutter-rectangle.h"
+
 /* AtkObject */
 static void                  cally_rectangle_real_initialize (AtkObject *obj,
                                                               gpointer   data);
diff --git a/clutter/cally/cally-rectangle.h b/clutter/cally/cally-rectangle.h
index 6cd2457..0a205c5 100644
--- a/clutter/cally/cally-rectangle.h
+++ b/clutter/cally/cally-rectangle.h
@@ -18,13 +18,13 @@
  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef __CALLY_RECTANGLE_H__
+#define __CALLY_RECTANGLE_H__
+
 #if !defined(__CALLY_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
 #error "Only <cally/cally.h> can be included directly."
 #endif
 
-#ifndef __CALLY_RECTANGLE_H__
-#define __CALLY_RECTANGLE_H__
-
 #include <cally/cally-actor.h>
 #include <clutter/clutter.h>
 
@@ -74,7 +74,9 @@ struct _CallyRectangleClass
   gpointer _padding_dummy[8];
 };
 
+CLUTTER_AVAILABLE_IN_1_4
 GType      cally_rectangle_get_type (void) G_GNUC_CONST;
+CLUTTER_AVAILABLE_IN_1_4
 AtkObject* cally_rectangle_new      (ClutterActor *actor);
 
 G_END_DECLS
diff --git a/clutter/cally/cally-root.c b/clutter/cally/cally-root.c
index 1114981..aae37c6 100644
--- a/clutter/cally/cally-root.c
+++ b/clutter/cally/cally-root.c
@@ -35,9 +35,15 @@
  * #ClutterStageManager).
  */
 
-#include <clutter/clutter.h>
+#include "config.h"
+
 #include "cally-root.h"
 
+#include "clutter-actor.h"
+#include "clutter-stage-private.h"
+#include "clutter-stage-manager.h"
+
+
 /* GObject */
 static void cally_root_finalize   (GObject *object);
 
diff --git a/clutter/cally/cally-root.h b/clutter/cally/cally-root.h
index fd3dcbf..1067494 100644
--- a/clutter/cally/cally-root.h
+++ b/clutter/cally/cally-root.h
@@ -18,14 +18,15 @@
  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef __CALLY_ROOT_H__
+#define __CALLY_ROOT_H__
+
 #if !defined(__CALLY_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
 #error "Only <cally/cally.h> can be included directly."
 #endif
 
-#ifndef __CALLY_ROOT_H__
-#define __CALLY_ROOT_H__
-
 #include <atk/atk.h>
+#include <clutter/clutter.h>
 
 G_BEGIN_DECLS
 
@@ -73,8 +74,9 @@ struct _CallyRootClass
   gpointer _padding_dummy[16];
 };
 
-
+CLUTTER_AVAILABLE_IN_1_4
 GType      cally_root_get_type (void) G_GNUC_CONST;
+CLUTTER_AVAILABLE_IN_1_4
 AtkObject *cally_root_new      (void);
 
 G_END_DECLS
diff --git a/clutter/cally/cally-stage.c b/clutter/cally/cally-stage.c
index 9db5273..25bb321 100644
--- a/clutter/cally/cally-stage.c
+++ b/clutter/cally/cally-stage.c
@@ -34,6 +34,7 @@
  * being a canvas. Anyway, this is required for applications using
  * just clutter, or directly #ClutterStage
  */
+#include "config.h"
 
 #include "cally-stage.h"
 #include "cally-actor-private.h"
diff --git a/clutter/cally/cally-stage.h b/clutter/cally/cally-stage.h
index 7ce4bb2..c95d2ca 100644
--- a/clutter/cally/cally-stage.h
+++ b/clutter/cally/cally-stage.h
@@ -18,13 +18,13 @@
  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef __CALLY_STAGE_H__
+#define __CALLY_STAGE_H__
+
 #if !defined(__CALLY_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
 #error "Only <cally/cally.h> can be included directly."
 #endif
 
-#ifndef __CALLY_STAGE_H__
-#define __CALLY_STAGE_H__
-
 #include <cally/cally-group.h>
 #include <clutter/clutter.h>
 
@@ -74,7 +74,9 @@ struct _CallyStageClass
   gpointer _padding_dummy[16];
 };
 
+CLUTTER_AVAILABLE_IN_1_4
 GType      cally_stage_get_type (void) G_GNUC_CONST;
+CLUTTER_AVAILABLE_IN_1_4
 AtkObject *cally_stage_new      (ClutterActor *actor);
 
 G_END_DECLS
diff --git a/clutter/cally/cally-text.c b/clutter/cally/cally-text.c
index b5b807e..0b6606f 100644
--- a/clutter/cally/cally-text.c
+++ b/clutter/cally/cally-text.c
@@ -46,7 +46,9 @@
 #include "cally-text.h"
 #include "cally-actor-private.h"
 
+#include "clutter-color.h"
 #include "clutter-main.h"
+#include "clutter-text.h"
 
 static void cally_text_finalize   (GObject *obj);
 
diff --git a/clutter/cally/cally-text.h b/clutter/cally/cally-text.h
index ea4b688..ce3c0cb 100644
--- a/clutter/cally/cally-text.h
+++ b/clutter/cally/cally-text.h
@@ -18,15 +18,15 @@
  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef __CALLY_TEXT_H__
+#define __CALLY_TEXT_H__
+
 #if !defined(__CALLY_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
 #error "Only <cally/cally.h> can be included directly."
 #endif
 
-#ifndef __CALLY_TEXT_H__
-#define __CALLY_TEXT_H__
-
-#include <cally/cally-actor.h>
 #include <clutter/clutter.h>
+#include <cally/cally-actor.h>
 
 G_BEGIN_DECLS
 
@@ -74,7 +74,9 @@ struct _CallyTextClass
   gpointer _padding_dummy[8];
 };
 
+CLUTTER_AVAILABLE_IN_1_4
 GType      cally_text_get_type (void) G_GNUC_CONST;
+CLUTTER_AVAILABLE_IN_1_4
 AtkObject* cally_text_new      (ClutterActor *actor);
 
 G_END_DECLS
diff --git a/clutter/cally/cally-texture.c b/clutter/cally/cally-texture.c
index d59bc3a..12964bd 100644
--- a/clutter/cally/cally-texture.c
+++ b/clutter/cally/cally-texture.c
@@ -30,10 +30,15 @@
  *
  * In particular it sets a proper role for the texture.
  */
+#include "config.h"
+
+#define CLUTTER_DISABLE_DEPRECATION_WARNINGS
 
 #include "cally-texture.h"
 #include "cally-actor-private.h"
 
+#include "deprecated/clutter-texture.h"
+
 /* AtkObject */
 static void                  cally_texture_real_initialize (AtkObject *obj,
                                                            gpointer   data);
diff --git a/clutter/cally/cally-texture.h b/clutter/cally/cally-texture.h
index ff594c9..dad576c 100644
--- a/clutter/cally/cally-texture.h
+++ b/clutter/cally/cally-texture.h
@@ -18,15 +18,15 @@
  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef __CALLY_TEXTURE_H__
+#define __CALLY_TEXTURE_H__
+
 #if !defined(__CALLY_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
 #error "Only <cally/cally.h> can be included directly."
 #endif
 
-#ifndef __CALLY_TEXTURE_H__
-#define __CALLY_TEXTURE_H__
-
-#include <cally/cally-actor.h>
 #include <clutter/clutter.h>
+#include <cally/cally-actor.h>
 
 G_BEGIN_DECLS
 
@@ -74,7 +74,9 @@ struct _CallyTextureClass
   gpointer _padding_dummy[8];
 };
 
+CLUTTER_AVAILABLE_IN_1_4
 GType      cally_texture_get_type (void) G_GNUC_CONST;
+CLUTTER_AVAILABLE_IN_1_4
 AtkObject *cally_texture_new      (ClutterActor *actor);
 
 G_END_DECLS
diff --git a/clutter/cally/cally-util.h b/clutter/cally/cally-util.h
index 23d386c..382e23a 100644
--- a/clutter/cally/cally-util.h
+++ b/clutter/cally/cally-util.h
@@ -18,13 +18,14 @@
  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
+#ifndef __CALLY_UTIL_H__
+#define __CALLY_UTIL_H__
+
 #if !defined(__CALLY_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
 #error "Only <cally/cally.h> can be included directly."
 #endif
 
-#ifndef __CALLY_UTIL_H__
-#define __CALLY_UTIL_H__
-
+#include <clutter/clutter.h>
 #include <atk/atk.h>
 
 G_BEGIN_DECLS
@@ -73,6 +74,7 @@ struct _CallyUtilClass
   gpointer _padding_dummy[8];
 };
 
+CLUTTER_AVAILABLE_IN_1_4
 GType cally_util_get_type (void) G_GNUC_CONST;
 
 G_END_DECLS


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