mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05: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);
|
||||
}
|
||||
|
||||
/* XXX:2.0 remove */
|
||||
static gboolean
|
||||
clutter_swipe_action_real_swipe (ClutterSwipeAction *action,
|
||||
ClutterActor *actor,
|
||||
ClutterSwipeDirection direction)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
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_end = gesture_end;
|
||||
|
||||
/* XXX:2.0 remove */
|
||||
klass->swipe = clutter_swipe_action_real_swipe;
|
||||
|
||||
/**
|
||||
* ClutterSwipeAction::swept:
|
||||
* @action: the #ClutterSwipeAction that emitted the signal
|
||||
@ -248,8 +236,7 @@ clutter_swipe_action_class_init (ClutterSwipeActionClass *klass)
|
||||
g_signal_new (I_("swipe"),
|
||||
G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
G_STRUCT_OFFSET (ClutterSwipeActionClass, swipe),
|
||||
_clutter_boolean_continue_accumulator, NULL,
|
||||
0, g_signal_accumulator_true_handled, NULL,
|
||||
_clutter_marshal_BOOLEAN__OBJECT_FLAGS,
|
||||
G_TYPE_BOOLEAN, 2,
|
||||
CLUTTER_TYPE_ACTOR,
|
||||
|
@ -85,10 +85,6 @@ struct _ClutterSwipeActionClass
|
||||
ClutterActor *actor,
|
||||
ClutterSwipeDirection direction);
|
||||
|
||||
gboolean (* swipe) (ClutterSwipeAction *action,
|
||||
ClutterActor *actor,
|
||||
ClutterSwipeDirection direction);
|
||||
|
||||
/*< private >*/
|
||||
void (* _clutter_swipe_action1) (void);
|
||||
void (* _clutter_swipe_action2) (void);
|
||||
|
Loading…
Reference in New Issue
Block a user