From 19de5d254165adae02c5795384716270f98fe3fb Mon Sep 17 00:00:00 2001 From: Emanuele Aina Date: Tue, 11 Sep 2012 19:20:19 +0200 Subject: [PATCH] action: fix CLUTTER_GESTURE_ACTION_GET_CLASS() Fix the same cut'n'paste error fixed for GestureAction in 609766fa, this time in ClickAction, PanAction, RotateAction and SwipeAction. https://bugzilla.gnome.org/show_bug.cgi?id=683430 --- clutter/clutter-click-action.h | 2 +- clutter/clutter-pan-action.h | 2 +- clutter/clutter-rotate-action.h | 2 +- clutter/clutter-swipe-action.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/clutter/clutter-click-action.h b/clutter/clutter-click-action.h index cffb61249..36c572731 100644 --- a/clutter/clutter-click-action.h +++ b/clutter/clutter-click-action.h @@ -42,7 +42,7 @@ G_BEGIN_DECLS #define CLUTTER_IS_CLICK_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_CLICK_ACTION)) #define CLUTTER_CLICK_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_TYPE_CLICK_ACTION, ClutterClickActionClass)) #define CLUTTER_IS_CLICK_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_CLICK_ACTION)) -#define CLUTTER_CLICK_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), CLUTTER_TYPE_CLICK_ACTION, ClutterClickActionClass)) +#define CLUTTER_CLICK_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_CLICK_ACTION, ClutterClickActionClass)) typedef struct _ClutterClickAction ClutterClickAction; typedef struct _ClutterClickActionPrivate ClutterClickActionPrivate; diff --git a/clutter/clutter-pan-action.h b/clutter/clutter-pan-action.h index 10ed67686..8f3e1850f 100644 --- a/clutter/clutter-pan-action.h +++ b/clutter/clutter-pan-action.h @@ -46,7 +46,7 @@ G_BEGIN_DECLS #define CLUTTER_IS_PAN_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_PAN_ACTION)) #define CLUTTER_PAN_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_TYPE_PAN_ACTION, ClutterPanActionClass)) #define CLUTTER_IS_PAN_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_PAN_ACTION)) -#define CLUTTER_PAN_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), CLUTTER_TYPE_PAN_ACTION, ClutterPanActionClass)) +#define CLUTTER_PAN_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_PAN_ACTION, ClutterPanActionClass)) typedef struct _ClutterPanAction ClutterPanAction; typedef struct _ClutterPanActionPrivate ClutterPanActionPrivate; diff --git a/clutter/clutter-rotate-action.h b/clutter/clutter-rotate-action.h index 10eb65500..ee41059c2 100644 --- a/clutter/clutter-rotate-action.h +++ b/clutter/clutter-rotate-action.h @@ -38,7 +38,7 @@ G_BEGIN_DECLS #define CLUTTER_IS_ROTATE_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_ROTATE_ACTION)) #define CLUTTER_ROTATE_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_TYPE_ROTATE_ACTION, ClutterRotateActionClass)) #define CLUTTER_IS_ROTATE_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_ROTATE_ACTION)) -#define CLUTTER_ROTATE_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), CLUTTER_TYPE_ROTATE_ACTION, ClutterRotateActionClass)) +#define CLUTTER_ROTATE_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_ROTATE_ACTION, ClutterRotateActionClass)) typedef struct _ClutterRotateAction ClutterRotateAction; typedef struct _ClutterRotateActionPrivate ClutterRotateActionPrivate; diff --git a/clutter/clutter-swipe-action.h b/clutter/clutter-swipe-action.h index 087847d35..4356d9182 100644 --- a/clutter/clutter-swipe-action.h +++ b/clutter/clutter-swipe-action.h @@ -42,7 +42,7 @@ G_BEGIN_DECLS #define CLUTTER_IS_SWIPE_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_SWIPE_ACTION)) #define CLUTTER_SWIPE_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_TYPE_SWIPE_ACTION, ClutterSwipeActionClass)) #define CLUTTER_IS_SWIPE_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_SWIPE_ACTION)) -#define CLUTTER_SWIPE_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), CLUTTER_TYPE_SWIPE_ACTION, ClutterSwipeActionClass)) +#define CLUTTER_SWIPE_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_SWIPE_ACTION, ClutterSwipeActionClass)) typedef struct _ClutterSwipeAction ClutterSwipeAction; typedef struct _ClutterSwipeActionPrivate ClutterSwipeActionPrivate;