diff --git a/src/gpm-backlight-helper.c b/src/gpm-backlight-helper.c index da0eb895..4faf0ced 100644 --- a/src/gpm-backlight-helper.c +++ b/src/gpm-backlight-helper.c @@ -171,7 +171,7 @@ main (gint argc, gchar *argv[]) { "get-max-brightness", '\0', 0, G_OPTION_ARG_NONE, &get_max_brightness, /* command line argument */ _("Get the number of brightness levels supported"), NULL }, - { NULL} + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } }; /* setup translations */ diff --git a/src/gpm-main.c b/src/gpm-main.c index 4212f327..1dbf59ac 100644 --- a/src/gpm-main.c +++ b/src/gpm-main.c @@ -172,7 +172,7 @@ main (int argc, char *argv[]) N_("Exit after a small delay (for debugging)"), NULL }, { "immediate-exit", '\0', 0, G_OPTION_ARG_NONE, &immediate_exit, N_("Exit after the manager has loaded (for debugging)"), NULL }, - { NULL} + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } }; setlocale (LC_ALL, ""); diff --git a/src/gpm-prefs.c b/src/gpm-prefs.c index 8a1e26e0..69848a2e 100644 --- a/src/gpm-prefs.c +++ b/src/gpm-prefs.c @@ -71,7 +71,7 @@ main (int argc, char **argv) gint status; const GOptionEntry options[] = { - { NULL} + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } }; context = g_option_context_new (N_("MATE Power Preferences")); diff --git a/src/gpm-statistics.c b/src/gpm-statistics.c index 897e6ec5..b8942fae 100644 --- a/src/gpm-statistics.c +++ b/src/gpm-statistics.c @@ -1208,7 +1208,7 @@ main (int argc, char *argv[]) { "device", '\0', 0, G_OPTION_ARG_STRING, &last_device, /* TRANSLATORS: show a device by default */ N_("Select this device at startup"), NULL }, - { NULL} + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } }; setlocale (LC_ALL, "");