From d5679eb7c3fd5c3ce033a1b739905dfdaf0b892f Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 3 Aug 2020 14:43:04 +0200 Subject: Remove -Wmissing-field-initializers warnings --- plugins/filebrowser/pluma-file-browser-widget.c | 2 +- pluma/pluma-ui.h | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/plugins/filebrowser/pluma-file-browser-widget.c b/plugins/filebrowser/pluma-file-browser-widget.c index 58afc036..5544bd57 100644 --- a/plugins/filebrowser/pluma-file-browser-widget.c +++ b/plugins/filebrowser/pluma-file-browser-widget.c @@ -789,7 +789,7 @@ create_combo (PlumaFileBrowserWidget * obj) static GtkActionEntry toplevel_actions[] = { - {"FilterMenuAction", NULL, N_("_Filter")} + {"FilterMenuAction", NULL, N_("_Filter"), NULL, NULL, NULL} }; static const GtkActionEntry tree_actions_selection[] = diff --git a/pluma/pluma-ui.h b/pluma/pluma-ui.h index 2567ebb0..d3f30d93 100644 --- a/pluma/pluma-ui.h +++ b/pluma/pluma-ui.h @@ -44,13 +44,13 @@ G_BEGIN_DECLS static const GtkActionEntry pluma_always_sensitive_menu_entries[] = { /* Toplevel */ - { "File", NULL, N_("_File") }, - { "Edit", NULL, N_("_Edit") }, - { "View", NULL, N_("_View") }, - { "Search", NULL, N_("_Search") }, - { "Tools", NULL, N_("_Tools") }, - { "Documents", NULL, N_("_Documents") }, - { "Help", NULL, N_("_Help") }, + { "File", NULL, N_("_File"), NULL, NULL, NULL }, + { "Edit", NULL, N_("_Edit"), NULL, NULL, NULL }, + { "View", NULL, N_("_View"), NULL, NULL, NULL }, + { "Search", NULL, N_("_Search"), NULL, NULL, NULL }, + { "Tools", NULL, N_("_Tools"), NULL, NULL, NULL }, + { "Documents", NULL, N_("_Documents"), NULL, NULL, NULL }, + { "Help", NULL, N_("_Help"), NULL, NULL, NULL }, /* File menu */ { "FileNew", "document-new", N_("_New"), "N", @@ -114,7 +114,7 @@ static const GtkActionEntry pluma_menu_entries[] = N_("Capitalize the first letter of each selected word"), G_CALLBACK (_pluma_cmd_edit_title_case) }, /* View menu */ - { "ViewHighlightMode", NULL, N_("_Highlight Mode") }, + { "ViewHighlightMode", NULL, N_("_Highlight Mode"), NULL, NULL, NULL }, /* Search menu */ { "SearchFind", "edit-find", N_("_Find..."), "F", -- cgit v1.2.1