diff options
author | rbuj <[email protected]> | 2021-10-28 11:15:15 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2023-04-19 20:43:06 +0200 |
commit | 46f7c21f60c071643f333133bcfd37e1e73ee558 (patch) | |
tree | 82ea535fa2dc14f8b3517598d8c9201fe180f7d8 | |
parent | 2291bf3c2a9764aabb92e32c604732df8b75c6aa (diff) | |
download | mate-session-manager-46f7c21f60c071643f333133bcfd37e1e73ee558.tar.bz2 mate-session-manager-46f7c21f60c071643f333133bcfd37e1e73ee558.tar.xz |
Fix build warnings about missing field initializer
-rw-r--r-- | tools/mate-session-check-accelerated-gl-helper.c | 2 | ||||
-rw-r--r-- | tools/mate-session-check-accelerated-gles-helper.c | 2 | ||||
-rw-r--r-- | tools/mate-session-save.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tools/mate-session-check-accelerated-gl-helper.c b/tools/mate-session-check-accelerated-gl-helper.c index 5c1e8d9..e11206e 100644 --- a/tools/mate-session-check-accelerated-gl-helper.c +++ b/tools/mate-session-check-accelerated-gl-helper.c @@ -439,7 +439,7 @@ static gboolean print_renderer = FALSE; static const GOptionEntry entries[] = { { "print-renderer", 'p', 0, G_OPTION_ARG_NONE, &print_renderer, "Print GL renderer name", NULL }, - { NULL }, + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL }, }; int diff --git a/tools/mate-session-check-accelerated-gles-helper.c b/tools/mate-session-check-accelerated-gles-helper.c index d5ad808..b206832 100644 --- a/tools/mate-session-check-accelerated-gles-helper.c +++ b/tools/mate-session-check-accelerated-gles-helper.c @@ -193,7 +193,7 @@ static gboolean print_renderer = FALSE; static const GOptionEntry entries[] = { { "print-renderer", 'p', 0, G_OPTION_ARG_NONE, &print_renderer, "Print EGL renderer name", NULL }, - { NULL }, + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL }, }; int diff --git a/tools/mate-session-save.c b/tools/mate-session-save.c index 69027b8..27a7ad9 100644 --- a/tools/mate-session-save.c +++ b/tools/mate-session-save.c @@ -73,7 +73,7 @@ static GOptionEntry options[] = { {"session-name", 's', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &session_name, N_("Set the current session name"), N_("NAME")}, {"kill", '\0', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &kill_session, N_("Kill session"), NULL}, {"silent", '\0', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &no_interaction, N_("Do not require confirmation"), NULL}, - {NULL} + {NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL} }; static void display_error(const char* message) |