[shotwell] Accellerators need to be null-terminated



commit f576f5956f71dccf6ef127fccc9940824a8dd9d5
Author: Jens Georg <mail jensge org>
Date:   Thu Dec 22 13:23:11 2016 +0100

    Accellerators need to be null-terminated
    
    Signed-off-by: Jens Georg <mail jensge org>

 src/AppWindow.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/AppWindow.vala b/src/AppWindow.vala
index 99f054d..62dd352 100644
--- a/src/AppWindow.vala
+++ b/src/AppWindow.vala
@@ -29,7 +29,7 @@ public class FullscreenWindow : PageWindow {
         set_current_page(page);
 
         AppWindow.get_instance().add_action_entries (entries, this);
-        const string[] accels = { "F11" };
+        const string[] accels = { "F11", null };
         Application.set_accels_for_action ("win.LeaveFullscreen", accels);
 
         set_screen(AppWindow.get_instance().get_screen());


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