GNOME Bugzilla – Bug 787570
wayland/inhibit-shortcuts-dialog: Use g_new0 instead of g_new
Last modified: 2017-09-14 07:35:51 UTC
This makes the dialog actually show reliably.
Created attachment 359568 [details] [review] wayland/inhibit-shortcuts-dialog: Use g_new0 instead of g_new The code assumed the newly allocated blocked was initialized to 0, but it wasn't since g_new was used. Fix that by using g_new0.
Review of attachment 359568 [details] [review]: Yes, that was an oversight.
Comment on attachment 359568 [details] [review] wayland/inhibit-shortcuts-dialog: Use g_new0 instead of g_new attachment 359568 [details] [review] pushed to git master as commit 07f6c85 - wayland/inhibit-shortcuts-dialog: Use g_new0 instead of g_new