[gnome-photos/wip/rishi/edit-mode: 25/33] preview-view: Drop deprecated GDK_POINTER_MOTION_HINT_MASK



commit 1aaef49474757f2f87e10ccdfdd7f7bb42e6ba0f
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Nov 5 20:14:28 2015 +0100

    preview-view: Drop deprecated GDK_POINTER_MOTION_HINT_MASK

 src/photos-preview-view.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/photos-preview-view.c b/src/photos-preview-view.c
index 562016d..39c3d99 100644
--- a/src/photos-preview-view.c
+++ b/src/photos-preview-view.c
@@ -231,11 +231,7 @@ photos_preview_view_create_view (PhotosPreviewView *self)
   GtkWidget *view;
 
   view = GTK_WIDGET (gegl_gtk_view_new ());
-  gtk_widget_add_events (view,
-                         GDK_BUTTON_PRESS_MASK
-                         | GDK_BUTTON_RELEASE_MASK
-                         | GDK_POINTER_MOTION_MASK
-                         | GDK_POINTER_MOTION_HINT_MASK);
+  gtk_widget_add_events (view, GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_POINTER_MOTION_MASK);
   context = gtk_widget_get_style_context (view);
   gtk_style_context_add_class (context, GTK_STYLE_CLASS_VIEW);
   gtk_style_context_add_class (context, "content-view");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]