summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-28 13:38:21 +0200
committerLuke from DC <[email protected]>2022-03-27 20:48:31 +0000
commit3499a5ffe1ea234e3beedd9615a66470026ae2dc (patch)
tree035d24d6c1989759fee14bdccd7bd2c54ff23402
parent3f88beccc4e0a073542132c26915016360dfce77 (diff)
downloadmate-media-3499a5ffe1ea234e3beedd9615a66470026ae2dc.tar.bz2
mate-media-3499a5ffe1ea234e3beedd9615a66470026ae2dc.tar.xz
Fix build warnings about missing field initializer
-rw-r--r--mate-volume-control/dialog-main.c2
-rw-r--r--mate-volume-control/status-icon-main.c2
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);