View | Details | Raw Unified | Return to bug 230883
Collapse All | Expand All

(-)files/patch-src_MainWindow.cpp (+15 lines)
Line 0 Link Here
1
MainWindow.cpp:157:33: error: C-style cast from 'nullptr_t' to 'GtkAccelFlags' is not allowed
2
                                (GtkAccelFlags)NULL, closure);
3
                                ^~~~~~~~~~~~~~~~~~~
4
5
--- src/MainWindow.cpp.orig	2018-08-25 04:31:20 UTC
6
+++ src/MainWindow.cpp
7
@@ -154,7 +154,7 @@ MainWindow::MainWindow()
8
         closure = g_cclosure_new(G_CALLBACK(keys[key].func), (gpointer)this, NULL);
9
         gtk_accel_group_connect(accelerators, keys[key].key,
10
                                 (GdkModifierType)keys[key].modifier,
11
-                                (GtkAccelFlags)NULL, closure);
12
+                                (GtkAccelFlags)0, closure);
13
         g_closure_unref(closure);
14
     }
15
 

Return to bug 230883