diff options
author | rbuj <[email protected]> | 2021-10-28 11:39:18 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-02-19 01:54:48 +0100 |
commit | c419a6be1e3ba4ba2c6798414450d2c48016ce49 (patch) | |
tree | 946d23d1ce74e19f5092ea457cff991040d9afa8 | |
parent | dd539abf0f68dbf2621a515b5e8bafd1c4f2214e (diff) | |
download | mate-screensaver-c419a6be1e3ba4ba2c6798414450d2c48016ce49.tar.bz2 mate-screensaver-c419a6be1e3ba4ba2c6798414450d2c48016ce49.tar.xz |
Fix build warnings about missing field initializer
-rw-r--r-- | savers/floaters.c | 2 | ||||
-rw-r--r-- | savers/slideshow.c | 2 | ||||
-rw-r--r-- | src/mate-screensaver-command.c | 2 | ||||
-rw-r--r-- | src/mate-screensaver-dialog.c | 2 | ||||
-rw-r--r-- | src/mate-screensaver.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/savers/floaters.c b/savers/floaters.c index 63d16f1..009cc3f 100644 --- a/savers/floaters.c +++ b/savers/floaters.c @@ -1142,7 +1142,7 @@ main (int argc, N_("The initial size and position of window"), N_("WIDTHxHEIGHT+X+Y") }, { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &filenames, N_("The source image to use"), NULL }, - {NULL} + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } }; bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); diff --git a/savers/slideshow.c b/savers/slideshow.c index fa350f7..58cea19 100644 --- a/savers/slideshow.c +++ b/savers/slideshow.c @@ -67,7 +67,7 @@ main (int argc, char **argv) "no-stretch", 0, 0, G_OPTION_ARG_NONE, &no_stretch, N_("Do not try to stretch images on screen"), NULL }, - { NULL } + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } }; bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); diff --git a/src/mate-screensaver-command.c b/src/mate-screensaver-command.c index af78d89..a233ebe 100644 --- a/src/mate-screensaver-command.c +++ b/src/mate-screensaver-command.c @@ -108,7 +108,7 @@ static GOptionEntry entries [] = "version", 'V', 0, G_OPTION_ARG_NONE, &do_version, N_("Version of this application"), NULL }, - { NULL } + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } }; static GMainLoop *loop = NULL; diff --git a/src/mate-screensaver-dialog.c b/src/mate-screensaver-dialog.c index 24c2610..567d094 100644 --- a/src/mate-screensaver-dialog.c +++ b/src/mate-screensaver-dialog.c @@ -62,7 +62,7 @@ static GOptionEntry entries[] = { {"enable-switch", 0, 0, G_OPTION_ARG_NONE, &enable_switch, N_("Show the switch user button"), NULL}, {"status-message", 0, 0, G_OPTION_ARG_STRING, &status_message, N_("Message to show in the dialog"), N_("MESSAGE")}, {"away-message", 0, 0, G_OPTION_ARG_STRING, &away_message, N_("Not used"), N_("MESSAGE")}, - {NULL} + {NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL} }; static char* get_id_string(GtkWidget* widget) diff --git a/src/mate-screensaver.c b/src/mate-screensaver.c index 926dd68..e2f8b3a 100644 --- a/src/mate-screensaver.c +++ b/src/mate-screensaver.c @@ -56,7 +56,7 @@ int main(int argc, char **argv) {"version", 0, 0, G_OPTION_ARG_NONE, &show_version, N_("Version of this application"), NULL}, {"no-daemon", 0, 0, G_OPTION_ARG_NONE, &no_daemon, N_("Don't become a daemon"), NULL}, {"debug", 0, 0, G_OPTION_ARG_NONE, &debug, N_("Enable debugging code"), NULL}, - {NULL} + {NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL} }; #ifdef ENABLE_NLS |