summaryrefslogtreecommitdiff
path: root/gsearchtool/src/gsearchtool.c
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 /gsearchtool/src/gsearchtool.c
parentcada649969593de91457ba91901b8dd5e2ddb36f (diff)
downloadmate-utils-ae5293ecdb902c6ff3f4870e6ae94c69024b3288.tar.bz2
mate-utils-ae5293ecdb902c6ff3f4870e6ae94c69024b3288.tar.xz
Fix build warnings about missing field initializer
Diffstat (limited to 'gsearchtool/src/gsearchtool.c')
-rw-r--r--gsearchtool/src/gsearchtool.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gsearchtool/src/gsearchtool.c b/gsearchtool/src/gsearchtool.c
index 3d6a3669..ae637dc5 100644
--- a/gsearchtool/src/gsearchtool.c
+++ b/gsearchtool/src/gsearchtool.c
@@ -175,7 +175,7 @@ static GOptionEntry GSearchGOptionEntries[] = {
{ "hidden", 0, 0, G_OPTION_ARG_NONE, &GSearchGOptionArguments.hidden, NULL, NULL },
{ "follow", 0, 0, G_OPTION_ARG_NONE, &GSearchGOptionArguments.follow, NULL, NULL },
{ "mounts", 0, 0, G_OPTION_ARG_NONE, &GSearchGOptionArguments.mounts, NULL, NULL },
- { NULL }
+ { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL }
};
static gchar * find_command_default_name_argument;
@@ -3006,7 +3006,8 @@ gsearch_window_get_type (void)
NULL,
sizeof (GSearchWindow),
0,
- (GInstanceInitFunc)(void (*)(void)) gsearch_app_create
+ (GInstanceInitFunc)(void (*)(void)) gsearch_app_create,
+ NULL
};
object_type = g_type_register_static (GTK_TYPE_WINDOW, "GSearchWindow", &object_info, 0);
}