[gnome-builder] sourceview: shortcut entry init fix



commit 0e1ff8991b915c309f6ee3d89f37ebfb00d4c3f1
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Sun Aug 13 11:04:46 2017 +0200

    sourceview: shortcut entry init fix
    
    This entry is not filled correctly for now
    but we need at least a size on the array
    to avoid a seg in the libdazzle hash function
    to come, allowing us to us heap or stack arrays too.

 libide/sourceview/ide-source-view-shortcuts.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libide/sourceview/ide-source-view-shortcuts.c b/libide/sourceview/ide-source-view-shortcuts.c
index 89df463..551375d 100644
--- a/libide/sourceview/ide-source-view-shortcuts.c
+++ b/libide/sourceview/ide-source-view-shortcuts.c
@@ -25,6 +25,7 @@
 #include "ide-source-view.h"
 
 static const DzlShortcutEntry source_view_shortcuts[] = {
+  { NULL }
 };
 
 void


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