aboutsummaryrefslogtreecommitdiff
path: root/fiv-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'fiv-view.c')
-rw-r--r--fiv-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fiv-view.c b/fiv-view.c
index 484f314..ff201db 100644
--- a/fiv-view.c
+++ b/fiv-view.c
@@ -1394,10 +1394,10 @@ fiv_view_init(FivView *self)
self->scale = 1.0;
GtkGesture *drag = gtk_gesture_drag_new(GTK_WIDGET(self));
- g_object_set_data_full(
- G_OBJECT(self), "fiv-view-drag-gesture", drag, g_object_unref);
gtk_event_controller_set_propagation_phase(
GTK_EVENT_CONTROLLER(drag), GTK_PHASE_BUBBLE);
+ g_object_set_data_full(
+ G_OBJECT(self), "fiv-view-drag-gesture", drag, g_object_unref);
// GtkScrolledWindow's internal GtkGestureDrag is set to only look for
// touch events (and its "event_controllers" are perfectly private,