summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorrbuj <[email protected]>2022-02-10 09:23:14 +0100
committermbkma <[email protected]>2022-07-22 08:48:59 +0200
commit141440bf89af9df9b64f77ac3a1c0fc63b768989 (patch)
treeac9c684f96e61af9e8e36d24dbf90866df60ca49 /libcaja-private
parent160d754f2228e74daea5735c9fb6655e082de906 (diff)
downloadcaja-141440bf89af9df9b64f77ac3a1c0fc63b768989.tar.bz2
caja-141440bf89af9df9b64f77ac3a1c0fc63b768989.tar.xz
Fix build warning -Wmissing-field-initializers
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-query.c2
-rw-r--r--libcaja-private/caja-sidebar-provider.c1
-rw-r--r--libcaja-private/caja-sidebar.c1
-rw-r--r--libcaja-private/caja-view.c1
-rw-r--r--libcaja-private/caja-window-info.c1
-rw-r--r--libcaja-private/caja-window-slot-info.c1
6 files changed, 6 insertions, 1 deletions
diff --git a/libcaja-private/caja-query.c b/libcaja-private/caja-query.c
index ddeb8d24..d87948c7 100644
--- a/libcaja-private/caja-query.c
+++ b/libcaja-private/caja-query.c
@@ -332,7 +332,7 @@ static GMarkupParser parser =
static CajaQuery *
caja_query_parse_xml (char *xml, gsize xml_len)
{
- ParserInfo info = { NULL };
+ ParserInfo info = { NULL, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE };
GMarkupParseContext *ctx;
info.query = caja_query_new ();
diff --git a/libcaja-private/caja-sidebar-provider.c b/libcaja-private/caja-sidebar-provider.c
index 263a0334..94f1c6c7 100644
--- a/libcaja-private/caja-sidebar-provider.c
+++ b/libcaja-private/caja-sidebar-provider.c
@@ -47,6 +47,7 @@ caja_sidebar_provider_get_type (void)
NULL,
0,
0,
+ NULL,
NULL
};
diff --git a/libcaja-private/caja-sidebar.c b/libcaja-private/caja-sidebar.c
index 60c7710e..393f5321 100644
--- a/libcaja-private/caja-sidebar.c
+++ b/libcaja-private/caja-sidebar.c
@@ -72,6 +72,7 @@ caja_sidebar_get_type (void)
NULL,
0,
0,
+ NULL,
NULL
};
diff --git a/libcaja-private/caja-view.c b/libcaja-private/caja-view.c
index 010b361b..9465217d 100644
--- a/libcaja-private/caja-view.c
+++ b/libcaja-private/caja-view.c
@@ -80,6 +80,7 @@ caja_view_get_type (void)
NULL,
0,
0,
+ NULL,
NULL
};
diff --git a/libcaja-private/caja-window-info.c b/libcaja-private/caja-window-info.c
index 9318847f..8d17c1ad 100644
--- a/libcaja-private/caja-window-info.c
+++ b/libcaja-private/caja-window-info.c
@@ -112,6 +112,7 @@ caja_window_info_get_type (void)
NULL,
0,
0,
+ NULL,
NULL
};
diff --git a/libcaja-private/caja-window-slot-info.c b/libcaja-private/caja-window-slot-info.c
index 01a38a80..b4b4d419 100644
--- a/libcaja-private/caja-window-slot-info.c
+++ b/libcaja-private/caja-window-slot-info.c
@@ -78,6 +78,7 @@ caja_window_slot_info_get_type (void)
NULL,
0,
0,
+ NULL,
NULL
};