forked from AuroraMiddleware/gtk
gesturelongpress: Remove a useless cast
We already get a GtkGestureLongPress here.
This commit is contained in:
parent
280d7e57bd
commit
74ff61a937
@ -75,9 +75,7 @@ G_DEFINE_TYPE_WITH_PRIVATE (GtkGestureLongPress, gtk_gesture_long_press, GTK_TYP
|
||||
static void
|
||||
gtk_gesture_long_press_init (GtkGestureLongPress *gesture)
|
||||
{
|
||||
GtkGestureLongPressPrivate *priv;
|
||||
|
||||
priv = gtk_gesture_long_press_get_instance_private (GTK_GESTURE_LONG_PRESS (gesture));
|
||||
GtkGestureLongPressPrivate *priv = gtk_gesture_long_press_get_instance_private (gesture);
|
||||
priv->delay_factor = 1.0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user