summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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