[gitg/wip/gaurav/clickable-links-subject-textview: 12/15] Fix compilation errors



commit 13ccc8ee2cf8ea028027d6c902523e0412dbeed6
Author: Gaurav Agrawal <agrawalgaurav1999 gmail com>
Date:   Fri Apr 12 13:18:52 2019 +0530

    Fix compilation errors
    
    Replace Gdk.BUTTON_RELEASE with Gdk.EventType.BUTTON_RELEASE
    Replace Gdk.TOUCH_END with Gdk.EvenType.TOUCH_END

 libgitg/gitg-diff-view.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgitg/gitg-diff-view.vala b/libgitg/gitg-diff-view.vala
index f74adf9c..3ba65403 100644
--- a/libgitg/gitg-diff-view.vala
+++ b/libgitg/gitg-diff-view.vala
@@ -396,7 +396,7 @@ public class Gitg.DiffView : Gtk.Grid
                double ex, ey;
                int x, y;
 
-               if (evt.type == Gdk.BUTTON_RELEASE)
+               if (evt.type == Gdk.EventType.BUTTON_RELEASE)
                {
                        Gdk.EventButton event;
 
@@ -407,7 +407,7 @@ public class Gitg.DiffView : Gtk.Grid
                        ex = event.x;
                        ey = event.y;
                }
-               else if (evt.type == Gdk.TOUCH_END)
+               else if (evt.type == Gdk.EventType.TOUCH_END)
                {
                        Gdk.EventTouch event;
 


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