[Libreoffice-commits] core.git: libreofficekit/qa
Tamás Zolnai
tamas.zolnai at collabora.com
Fri Sep 22 13:49:29 UTC 2017
libreofficekit/qa/gtktiledviewer/gtv-application.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 7df3faa8ebb05cdc36113d07910498d4ba180856
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
Date: Fri Sep 22 15:36:21 2017 +0200
Fix gtktiledviewer crash: this should be a null terminated list
Change-Id: I06e0923980b98b37b06ab45d8db68424b01d4f71
Reviewed-on: https://gerrit.libreoffice.org/42645
Reviewed-by: pranavk <pranavk at collabora.co.uk>
Tested-by: pranavk <pranavk at collabora.co.uk>
diff --git a/libreofficekit/qa/gtktiledviewer/gtv-application.cxx b/libreofficekit/qa/gtktiledviewer/gtv-application.cxx
index 88106ae6b583..ba1096c538ec 100644
--- a/libreofficekit/qa/gtktiledviewer/gtv-application.cxx
+++ b/libreofficekit/qa/gtktiledviewer/gtv-application.cxx
@@ -50,7 +50,8 @@ gtv_application_init(GtvApplication* app)
{ "enable-tiled-annotations", 0, 0, G_OPTION_ARG_NONE, nullptr, "Whether tiled annotations should be enabled", nullptr },
{ "background-color", 0, 0, G_OPTION_ARG_STRING, nullptr, "Background color", nullptr },
{ "hide-page-shadow", 0, 0, G_OPTION_ARG_NONE, nullptr, "Hide page shadow", nullptr },
- { "hide-whitespace", 0, 0, G_OPTION_ARG_NONE, nullptr, "Hide whitespace", nullptr }
+ { "hide-whitespace", 0, 0, G_OPTION_ARG_NONE, nullptr, "Hide whitespace", nullptr },
+ { nullptr, 0, 0, G_OPTION_ARG_NONE, nullptr, nullptr, nullptr },
};
g_application_add_main_option_entries(G_APPLICATION(app), commandLineOptions);
More information about the Libreoffice-commits
mailing list