mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
Hide clutter_input_device_wayland and clutter_stage_wayland types
By prefixing them with an underscore, so they don't get exported as part of public ABI. Signed-off-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
parent
978202aa49
commit
a33d84234f
@ -49,6 +49,9 @@
|
||||
|
||||
typedef struct _ClutterInputDeviceClass ClutterInputDeviceWaylandClass;
|
||||
|
||||
#define clutter_input_device_wayland_get_type \
|
||||
_clutter_input_device_wayland_get_type
|
||||
|
||||
G_DEFINE_TYPE (ClutterInputDeviceWayland,
|
||||
clutter_input_device_wayland,
|
||||
CLUTTER_TYPE_INPUT_DEVICE);
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "clutter-device-manager-private.h"
|
||||
#include "cogl/clutter-stage-cogl.h"
|
||||
|
||||
#define CLUTTER_TYPE_INPUT_DEVICE_WAYLAND (clutter_input_device_wayland_get_type ())
|
||||
#define CLUTTER_TYPE_INPUT_DEVICE_WAYLAND (_clutter_input_device_wayland_get_type ())
|
||||
#define CLUTTER_INPUT_DEVICE_WAYLAND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_INPUT_DEVICE_WAYLAND, ClutterInputDeviceWayland))
|
||||
#define CLUTTER_IS_INPUT_DEVICE_WAYLAND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_INPUT_DEVICE_WAYLAND))
|
||||
|
||||
@ -55,7 +55,7 @@ struct _ClutterInputDeviceWayland
|
||||
gboolean is_initial_repeat;
|
||||
};
|
||||
|
||||
GType clutter_input_device_wayland_get_type (void) G_GNUC_CONST;
|
||||
GType _clutter_input_device_wayland_get_type (void) G_GNUC_CONST;
|
||||
|
||||
extern const struct wl_seat_listener _clutter_seat_wayland_listener;
|
||||
|
||||
|
@ -44,6 +44,8 @@ static ClutterStageWindowIface *clutter_stage_window_parent_iface = NULL;
|
||||
|
||||
static void clutter_stage_window_iface_init (ClutterStageWindowIface *iface);
|
||||
|
||||
#define clutter_stage_wayland_get_type _clutter_stage_wayland_get_type
|
||||
|
||||
G_DEFINE_TYPE_WITH_CODE (ClutterStageWayland,
|
||||
clutter_stage_wayland,
|
||||
CLUTTER_TYPE_STAGE_COGL,
|
||||
|
@ -36,7 +36,7 @@
|
||||
|
||||
#include "cogl/clutter-stage-cogl.h"
|
||||
|
||||
#define CLUTTER_TYPE_STAGE_WAYLAND (clutter_stage_wayland_get_type ())
|
||||
#define CLUTTER_TYPE_STAGE_WAYLAND (_clutter_stage_wayland_get_type ())
|
||||
#define CLUTTER_STAGE_WAYLAND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_STAGE_WAYLAND, ClutterStageWayland))
|
||||
#define CLUTTER_IS_STAGE_WAYLAND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_STAGE_WAYLAND))
|
||||
#define CLUTTER_STAGE_WAYLAND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_TYPE_STAGE_WAYLAND, ClutterStageWaylandClass))
|
||||
@ -60,6 +60,6 @@ struct _ClutterStageWaylandClass
|
||||
ClutterStageCoglClass parent_class;
|
||||
};
|
||||
|
||||
GType clutter_stage_wayland_get_type (void) G_GNUC_CONST;
|
||||
GType _clutter_stage_wayland_get_type (void) G_GNUC_CONST;
|
||||
|
||||
#endif /* __CLUTTER_STAGE_WAYLAND_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user