From 3499a5ffe1ea234e3beedd9615a66470026ae2dc Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 28 Oct 2021 13:38:21 +0200 Subject: Fix build warnings about missing field initializer --- mate-volume-control/dialog-main.c | 2 +- mate-volume-control/status-icon-main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mate-volume-control/dialog-main.c b/mate-volume-control/dialog-main.c index b213b3d..c731261 100644 --- a/mate-volume-control/dialog-main.c +++ b/mate-volume-control/dialog-main.c @@ -192,7 +192,7 @@ main (int argc, char **argv) { "debug", 'd', 0, G_OPTION_ARG_NONE, &debug, N_("Enable debug"), NULL }, { "page", 'p', 0, G_OPTION_ARG_STRING, &page, N_("Startup page"), "effects|hardware|input|output|applications" }, { "version", 'v', 0, G_OPTION_ARG_NONE, &show_version, N_("Version of this application"), NULL }, - { NULL } + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } }; bindtextdomain (GETTEXT_PACKAGE, LOCALE_DIR); diff --git a/mate-volume-control/status-icon-main.c b/mate-volume-control/status-icon-main.c index e3dd684..6bf192a 100644 --- a/mate-volume-control/status-icon-main.c +++ b/mate-volume-control/status-icon-main.c @@ -45,7 +45,7 @@ main (int argc, char **argv) GOptionEntry entries[] = { { "version", 'v', 0, G_OPTION_ARG_NONE, &show_version, N_("Version of this application"), NULL }, { "debug", 'd', 0, G_OPTION_ARG_NONE, &debug, N_("Enable debug"), NULL }, - { NULL } + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } }; bindtextdomain (GETTEXT_PACKAGE, LOCALE_DIR); -- cgit v1.2.1