summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-08-03 14:43:04 +0200
committerRobert Antoni Buj Gelonch <[email protected]>2020-08-05 11:22:14 +0200
commitd5679eb7c3fd5c3ce033a1b739905dfdaf0b892f (patch)
treece439545bfc2335856c625f7086ce7461f80eade
parentd85c0aa6ec87e91901e393f701873085e5eeddb0 (diff)
downloadpluma-d5679eb7c3fd5c3ce033a1b739905dfdaf0b892f.tar.bz2
pluma-d5679eb7c3fd5c3ce033a1b739905dfdaf0b892f.tar.xz
Remove -Wmissing-field-initializers warnings
-rw-r--r--plugins/filebrowser/pluma-file-browser-widget.c2
-rw-r--r--pluma/pluma-ui.h16
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"), "<control>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..."), "<control>F",