summaryrefslogtreecommitdiff
path: root/savers
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-28 11:39:18 +0200
committerraveit65 <[email protected]>2022-02-19 01:54:48 +0100
commitc419a6be1e3ba4ba2c6798414450d2c48016ce49 (patch)
tree946d23d1ce74e19f5092ea457cff991040d9afa8 /savers
parentdd539abf0f68dbf2621a515b5e8bafd1c4f2214e (diff)
downloadmate-screensaver-c419a6be1e3ba4ba2c6798414450d2c48016ce49.tar.bz2
mate-screensaver-c419a6be1e3ba4ba2c6798414450d2c48016ce49.tar.xz
Fix build warnings about missing field initializer
Diffstat (limited to 'savers')
-rw-r--r--savers/floaters.c2
-rw-r--r--savers/slideshow.c2
2 files changed, 2 insertions, 2 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);