summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gpm-backlight-helper.c2
-rw-r--r--src/gpm-main.c2
-rw-r--r--src/gpm-prefs.c2
-rw-r--r--src/gpm-statistics.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/gpm-backlight-helper.c b/src/gpm-backlight-helper.c
index da0eb89..4faf0ce 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 4212f32..1dbf59a 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 8a1e26e..69848a2 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 8df24cd..ae144cb 100644
--- a/src/gpm-statistics.c
+++ b/src/gpm-statistics.c
@@ -1207,7 +1207,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, "");