From 9d702031671fa8aa4cdf6ea512b3f59b8ea3da37 Mon Sep 17 00:00:00 2001
From: rbuj <robert.buj@gmail.com>
Date: Thu, 28 Oct 2021 14:27:24 +0200
Subject: Fix build warnings about missing field initializer

---
 capplets/appearance/appearance-main.c           | 2 +-
 capplets/default-applications/mate-da-capplet.c | 4 +++-
 capplets/keybindings/eggcellrendererkeys.c      | 4 +++-
 capplets/keyboard/mate-keyboard-properties.c    | 2 +-
 capplets/mouse/mate-mouse-properties.c          | 2 +-
 5 files changed, 9 insertions(+), 5 deletions(-)

(limited to 'capplets')

diff --git a/capplets/appearance/appearance-main.c b/capplets/appearance/appearance-main.c
index 03dbff8a..2a9b92eb 100644
--- a/capplets/appearance/appearance-main.c
+++ b/capplets/appearance/appearance-main.c
@@ -160,7 +160,7 @@ main (int argc, char **argv)
       	&wallpaper_files,
       	NULL,
       	N_("[WALLPAPER...]") },
-      { NULL }
+      { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL }
     };
 
   option_context = g_option_context_new (NULL);
diff --git a/capplets/default-applications/mate-da-capplet.c b/capplets/default-applications/mate-da-capplet.c
index e5ade48b..e0e13d34 100644
--- a/capplets/default-applications/mate-da-capplet.c
+++ b/capplets/default-applications/mate-da-capplet.c
@@ -782,7 +782,9 @@ main(int argc, char** argv)
 			N_("Specify the name of the page to show (internet|multimedia|system|a11y)"),
 			N_("page")
 		},
-		{NULL}
+		{
+			NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL
+		}
 	};
 
 	GOptionContext* context = g_option_context_new(_("- MATE Default Applications"));
diff --git a/capplets/keybindings/eggcellrendererkeys.c b/capplets/keybindings/eggcellrendererkeys.c
index e6feca22..162f385c 100644
--- a/capplets/keybindings/eggcellrendererkeys.c
+++ b/capplets/keybindings/eggcellrendererkeys.c
@@ -66,7 +66,8 @@ GType egg_cell_renderer_keys_get_type(void)
 			NULL,		/* class_data */
 			sizeof (EggCellRendererKeys),
 			0,              /* n_preallocs */
-			(GInstanceInitFunc) egg_cell_renderer_keys_init
+			(GInstanceInitFunc) egg_cell_renderer_keys_init,
+			NULL
 		};
 
 	  cell_keys_type = g_type_register_static (GTK_TYPE_CELL_RENDERER_TEXT, "EggCellRendererKeys", &cell_keys_info, 0);
@@ -522,6 +523,7 @@ pointless_eventbox_subclass_get_type (void)
         sizeof (GtkEventBox),
 	0,              /* n_preallocs */
         (GInstanceInitFunc) NULL,
+        NULL
       };
 
       static const GInterfaceInfo cell_editable_info = {
diff --git a/capplets/keyboard/mate-keyboard-properties.c b/capplets/keyboard/mate-keyboard-properties.c
index ff389cfe..8b96bff5 100644
--- a/capplets/keyboard/mate-keyboard-properties.c
+++ b/capplets/keyboard/mate-keyboard-properties.c
@@ -178,7 +178,7 @@ main (int argc, char **argv)
 		 N_
 		 ("Start the page with the accessibility settings showing"),
 		 NULL},
-		{NULL}
+		{ NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL }
 	};
 
 
diff --git a/capplets/mouse/mate-mouse-properties.c b/capplets/mouse/mate-mouse-properties.c
index e057f7a8..2e9a1408 100644
--- a/capplets/mouse/mate-mouse-properties.c
+++ b/capplets/mouse/mate-mouse-properties.c
@@ -399,7 +399,7 @@ main (int argc, char **argv)
 		 /* TRANSLATORS: don't translate the terms in brackets */
 		 N_("Specify the name of the page to show (general)"),
 		 N_("page") },
-		{NULL}
+		{ NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL }
 	};
 
 	context = g_option_context_new (_("- MATE Mouse Preferences"));
-- 
cgit v1.2.1