summaryrefslogtreecommitdiff
path: root/gtk/gtkiconviewprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2018-01-01 23:48:32 -0500
committerMatthias Clasen <mclasen@redhat.com>2018-01-16 14:14:10 -0500
commit118424bd93ff913ad258fd6a214efc3400a9f96a (patch)
tree44be34b5784cb9b0919817284344634c0ac62465 /gtk/gtkiconviewprivate.h
parentab4f4fb045e39a0e9b8299683390f93df87f15de (diff)
downloadgtk+-118424bd93ff913ad258fd6a214efc3400a9f96a.tar.gz
iconview: Use a motion event controller
This can replace ::motion-notify-event and ::leave-notify-event.
Diffstat (limited to 'gtk/gtkiconviewprivate.h')
-rw-r--r--gtk/gtkiconviewprivate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkiconviewprivate.h b/gtk/gtkiconviewprivate.h
index 5080e074e7..436afd4639 100644
--- a/gtk/gtkiconviewprivate.h
+++ b/gtk/gtkiconviewprivate.h
@@ -18,6 +18,7 @@
#include "gtk/gtkiconview.h"
#include "gtk/gtkcssnodeprivate.h"
#include "gtk/gtkgesturemultipress.h"
+#include "gtk/gtkeventcontrollermotion.h"
#ifndef __GTK_ICON_VIEW_PRIVATE_H__
#define __GTK_ICON_VIEW_PRIVATE_H__
@@ -60,6 +61,7 @@ struct _GtkIconViewPrivate
GList *items;
GtkGesture *press_gesture;
+ GtkEventController *motion_controller;
GtkAdjustment *hadjustment;
GtkAdjustment *vadjustment;