[gitg/wip/actions: 61/61] Fix event cast



commit 059f58ce11a1b9a12df7c52e757c966be1a0ad85
Author: Jesse van den Kieboom <jessevdk gnome org>
Date:   Wed Jun 11 19:10:09 2014 +0200

    Fix event cast

 gitg/gitg-popup-menu.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gitg/gitg-popup-menu.vala b/gitg/gitg-popup-menu.vala
index 46c9383..26fc100 100644
--- a/gitg/gitg-popup-menu.vala
+++ b/gitg/gitg-popup-menu.vala
@@ -70,7 +70,7 @@ class PopupMenu : Object
 
        private bool on_button_press_event(Gtk.Widget widget, Gdk.EventButton event)
        {
-               Gdk.Event *ev = (Gdk.Event *)(&event);
+               Gdk.Event *ev = (Gdk.Event *)(event);
 
                if (!ev->triggers_context_menu())
                {


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