summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-28 11:39:18 +0200
committerrbuj <[email protected]>2021-10-28 11:39:18 +0200
commit5b1930d9c88191308b5566ce98a6789668b9bdf1 (patch)
tree52981d2c87c25c1127209a1eb895e1ec24531aff
parented6e6065bf0e85b64317b5a34b9f7a36a0c839a6 (diff)
downloadmate-screensaver-missing-field-initializers.tar.bz2
mate-screensaver-missing-field-initializers.tar.xz
Fix build warnings about missing field initializermissing-field-initializers
-rw-r--r--savers/floaters.c2
-rw-r--r--savers/slideshow.c2
-rw-r--r--src/mate-screensaver-command.c2
-rw-r--r--src/mate-screensaver-dialog.c2
-rw-r--r--src/mate-screensaver.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/savers/floaters.c b/savers/floaters.c
index bca72da..a4ba211 100644
--- a/savers/floaters.c
+++ b/savers/floaters.c
@@ -1149,7 +1149,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 d1dc21c..7e75eef 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