mirror of
https://github.com/brl/mutter.git
synced 2025-02-16 13:24:09 +00:00
clutter: Drop ClutterSwipeAction::swipe default vmethod
This is already empty, no need to do anything here. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2024>
This commit is contained in:
parent
94abaf247b
commit
85bcc48b53
@ -172,15 +172,6 @@ gesture_end (ClutterGestureAction *action,
|
|||||||
g_signal_emit (action, swipe_signals[SWEPT], 0, actor, direction);
|
g_signal_emit (action, swipe_signals[SWEPT], 0, actor, direction);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XXX:2.0 remove */
|
|
||||||
static gboolean
|
|
||||||
clutter_swipe_action_real_swipe (ClutterSwipeAction *action,
|
|
||||||
ClutterActor *actor,
|
|
||||||
ClutterSwipeDirection direction)
|
|
||||||
{
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
clutter_swipe_action_constructed (GObject *object)
|
clutter_swipe_action_constructed (GObject *object)
|
||||||
{
|
{
|
||||||
@ -202,9 +193,6 @@ clutter_swipe_action_class_init (ClutterSwipeActionClass *klass)
|
|||||||
gesture_class->gesture_progress = gesture_progress;
|
gesture_class->gesture_progress = gesture_progress;
|
||||||
gesture_class->gesture_end = gesture_end;
|
gesture_class->gesture_end = gesture_end;
|
||||||
|
|
||||||
/* XXX:2.0 remove */
|
|
||||||
klass->swipe = clutter_swipe_action_real_swipe;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ClutterSwipeAction::swept:
|
* ClutterSwipeAction::swept:
|
||||||
* @action: the #ClutterSwipeAction that emitted the signal
|
* @action: the #ClutterSwipeAction that emitted the signal
|
||||||
@ -248,8 +236,7 @@ clutter_swipe_action_class_init (ClutterSwipeActionClass *klass)
|
|||||||
g_signal_new (I_("swipe"),
|
g_signal_new (I_("swipe"),
|
||||||
G_TYPE_FROM_CLASS (klass),
|
G_TYPE_FROM_CLASS (klass),
|
||||||
G_SIGNAL_RUN_LAST,
|
G_SIGNAL_RUN_LAST,
|
||||||
G_STRUCT_OFFSET (ClutterSwipeActionClass, swipe),
|
0, g_signal_accumulator_true_handled, NULL,
|
||||||
_clutter_boolean_continue_accumulator, NULL,
|
|
||||||
_clutter_marshal_BOOLEAN__OBJECT_FLAGS,
|
_clutter_marshal_BOOLEAN__OBJECT_FLAGS,
|
||||||
G_TYPE_BOOLEAN, 2,
|
G_TYPE_BOOLEAN, 2,
|
||||||
CLUTTER_TYPE_ACTOR,
|
CLUTTER_TYPE_ACTOR,
|
||||||
|
@ -85,10 +85,6 @@ struct _ClutterSwipeActionClass
|
|||||||
ClutterActor *actor,
|
ClutterActor *actor,
|
||||||
ClutterSwipeDirection direction);
|
ClutterSwipeDirection direction);
|
||||||
|
|
||||||
gboolean (* swipe) (ClutterSwipeAction *action,
|
|
||||||
ClutterActor *actor,
|
|
||||||
ClutterSwipeDirection direction);
|
|
||||||
|
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
void (* _clutter_swipe_action1) (void);
|
void (* _clutter_swipe_action1) (void);
|
||||||
void (* _clutter_swipe_action2) (void);
|
void (* _clutter_swipe_action2) (void);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user