From 9d702031671fa8aa4cdf6ea512b3f59b8ea3da37 Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 28 Oct 2021 14:27:24 +0200 Subject: Fix build warnings about missing field initializer --- capplets/keybindings/eggcellrendererkeys.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'capplets/keybindings') 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 = { -- cgit v1.2.1