summaryrefslogtreecommitdiff
path: root/mate-dictionary/libgdict
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-28 10:53:22 +0200
committerraveit65 <[email protected]>2022-02-11 18:34:16 +0100
commitae5293ecdb902c6ff3f4870e6ae94c69024b3288 (patch)
tree70188fa3c679b9f80e5aba95b0f19f05d6b6b0e2 /mate-dictionary/libgdict
parentcada649969593de91457ba91901b8dd5e2ddb36f (diff)
downloadmate-utils-ae5293ecdb902c6ff3f4870e6ae94c69024b3288.tar.bz2
mate-utils-ae5293ecdb902c6ff3f4870e6ae94c69024b3288.tar.xz
Fix build warnings about missing field initializer
Diffstat (limited to 'mate-dictionary/libgdict')
-rw-r--r--mate-dictionary/libgdict/gdict-context.c4
-rw-r--r--mate-dictionary/libgdict/gdict-utils.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/mate-dictionary/libgdict/gdict-context.c b/mate-dictionary/libgdict/gdict-context.c
index 33b71263..7dab4525 100644
--- a/mate-dictionary/libgdict/gdict-context.c
+++ b/mate-dictionary/libgdict/gdict-context.c
@@ -66,6 +66,10 @@ gdict_context_get_type (void)
(GClassInitFunc) gdict_context_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
+ 0, /* instance_size */
+ 0, /* n_preallocs */
+ NULL, /* instance_init */
+ NULL /* value_table */
};
context_type = g_type_register_static (G_TYPE_INTERFACE,
diff --git a/mate-dictionary/libgdict/gdict-utils.c b/mate-dictionary/libgdict/gdict-utils.c
index 78e31ba9..00d051ef 100644
--- a/mate-dictionary/libgdict/gdict-utils.c
+++ b/mate-dictionary/libgdict/gdict-utils.c
@@ -98,7 +98,7 @@ static GOptionEntry gdict_args[] = {
{ "gdict-no-debug", 0, 0, G_OPTION_ARG_CALLBACK, gdict_arg_no_debug_cb,
N_("GDict debugging flags to unset"), N_("FLAGS") },
#endif /* GDICT_ENABLE_DEBUG */
- { NULL, },
+ { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL },
};
static gboolean