summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-28 14:27:24 +0200
committermbkma <[email protected]>2021-11-11 19:49:25 +0100
commit9d702031671fa8aa4cdf6ea512b3f59b8ea3da37 (patch)
tree7fe044b6473f9c56ed4aed153383ce445f03d985 /capplets
parentf82acb016938a4177f64906a133c224a0b8c51be (diff)
downloadmate-control-center-9d702031671fa8aa4cdf6ea512b3f59b8ea3da37.tar.bz2
mate-control-center-9d702031671fa8aa4cdf6ea512b3f59b8ea3da37.tar.xz
Fix build warnings about missing field initializer
Diffstat (limited to 'capplets')
-rw-r--r--capplets/appearance/appearance-main.c2
-rw-r--r--capplets/default-applications/mate-da-capplet.c4
-rw-r--r--capplets/keybindings/eggcellrendererkeys.c4
-rw-r--r--capplets/keyboard/mate-keyboard-properties.c2
-rw-r--r--capplets/mouse/mate-mouse-properties.c2
5 files changed, 9 insertions, 5 deletions
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"));