summaryrefslogtreecommitdiff
path: root/gsearchtool
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
parentcada649969593de91457ba91901b8dd5e2ddb36f (diff)
downloadmate-utils-ae5293ecdb902c6ff3f4870e6ae94c69024b3288.tar.bz2
mate-utils-ae5293ecdb902c6ff3f4870e6ae94c69024b3288.tar.xz
Fix build warnings about missing field initializer
Diffstat (limited to 'gsearchtool')
-rw-r--r--gsearchtool/src/gsearchtool-callbacks.c2
-rw-r--r--gsearchtool/src/gsearchtool.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/gsearchtool/src/gsearchtool-callbacks.c b/gsearchtool/src/gsearchtool-callbacks.c
index b43429bb..caca5dff 100644
--- a/gsearchtool/src/gsearchtool-callbacks.c
+++ b/gsearchtool/src/gsearchtool-callbacks.c
@@ -221,7 +221,7 @@ click_expander_cb (GObject * object,
GDK_HINT_MIN_SIZE);
}
else {
- GdkGeometry default_geometry = {MINIMUM_WINDOW_WIDTH, MINIMUM_WINDOW_HEIGHT};
+ GdkGeometry default_geometry = { MINIMUM_WINDOW_WIDTH, MINIMUM_WINDOW_HEIGHT, 0, 0, 0, 0, 0, 0, 0.0, 0.0, 0 };
gtk_widget_hide (gsearch->available_options_vbox);
gtk_window_set_geometry_hints (GTK_WINDOW (gsearch->window),
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);
}