[balsa] balsa-index: Do not cast away constness
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa] balsa-index: Do not cast away constness
- Date: Mon, 1 Jun 2020 17:22:21 +0000 (UTC)
commit d6e92151bc52335199fb9586261b094afc58194c
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Mon Jun 1 13:07:35 2020 -0400
balsa-index: Do not cast away constness
of GdkEvent.
src/balsa-index.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/balsa-index.c b/src/balsa-index.c
index 59fb07074..aa14e55e8 100644
--- a/src/balsa-index.c
+++ b/src/balsa-index.c
@@ -640,7 +640,7 @@ bndx_gesture_pressed_cb(GtkGestureMultiPress *multi_press_gesture,
sequence = gtk_gesture_single_get_current_sequence(GTK_GESTURE_SINGLE(multi_press_gesture));
event = gtk_gesture_get_last_event(gesture, sequence);
- if (!gdk_event_triggers_context_menu((GdkEvent *) event)
+ if (!gdk_event_triggers_context_menu(event)
|| gdk_event_get_window(event) != gtk_tree_view_get_bin_window(tree_view))
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]