summaryrefslogtreecommitdiff
path: root/src
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 /src
parentdd539abf0f68dbf2621a515b5e8bafd1c4f2214e (diff)
downloadmate-screensaver-c419a6be1e3ba4ba2c6798414450d2c48016ce49.tar.bz2
mate-screensaver-c419a6be1e3ba4ba2c6798414450d2c48016ce49.tar.xz
Fix build warnings about missing field initializer
Diffstat (limited to 'src')
-rw-r--r--src/mate-screensaver-command.c2
-rw-r--r--src/mate-screensaver-dialog.c2
-rw-r--r--src/mate-screensaver.c2
3 files changed, 3 insertions, 3 deletions
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