summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-28 15:23:52 +0200
committerrbuj <[email protected]>2021-10-28 15:23:52 +0200
commit2e10f49851a572e405424eaa33c30e9dced52a82 (patch)
tree46a1288c4a56d7a69d72102ec3e9996ab57960bb
parent5531df05481859b8efd9c952795759ef2c0dcad9 (diff)
downloadcaja-extensions-missing-field-initializers.tar.bz2
caja-extensions-missing-field-initializers.tar.xz
Fix build warnings about missing field initializermissing-field-initializers
-rw-r--r--gksu/libcaja-gksu.c3
-rw-r--r--image-converter/caja-image-converter.c1
-rw-r--r--open-terminal/caja-open-terminal.c1
-rw-r--r--sendto/caja-nste.c1
-rw-r--r--sendto/caja-sendto-command.c2
-rw-r--r--share/caja-share.c1
-rw-r--r--wallpaper/caja-wallpaper-extension.c1
-rw-r--r--xattr-tags/caja-xattr-tags-extension.c1
8 files changed, 9 insertions, 2 deletions
diff --git a/gksu/libcaja-gksu.c b/gksu/libcaja-gksu.c
index 768035a..675a6e0 100644
--- a/gksu/libcaja-gksu.c
+++ b/gksu/libcaja-gksu.c
@@ -59,7 +59,8 @@ gksu_context_menu_register_type (GTypeModule *module)
NULL,
sizeof (GksuContextMenu),
0,
- (GInstanceInitFunc) gksu_context_menu_init
+ (GInstanceInitFunc) gksu_context_menu_init,
+ NULL
};
static const GInterfaceInfo menu_provider_iface_info = {
(GInterfaceInitFunc)menu_provider_iface_init,
diff --git a/image-converter/caja-image-converter.c b/image-converter/caja-image-converter.c
index b7f80b8..591d8e8 100644
--- a/image-converter/caja-image-converter.c
+++ b/image-converter/caja-image-converter.c
@@ -182,6 +182,7 @@ caja_image_converter_register_type (GTypeModule *module)
sizeof (CajaImageConverter),
0,
(GInstanceInitFunc) caja_image_converter_instance_init,
+ NULL
};
static const GInterfaceInfo menu_provider_iface_info = {
diff --git a/open-terminal/caja-open-terminal.c b/open-terminal/caja-open-terminal.c
index 45950b2..1647f03 100644
--- a/open-terminal/caja-open-terminal.c
+++ b/open-terminal/caja-open-terminal.c
@@ -641,6 +641,7 @@ caja_open_terminal_register_type (GTypeModule *module)
sizeof (CajaOpenTerminal),
0,
(GInstanceInitFunc) caja_open_terminal_instance_init,
+ NULL
};
static const GInterfaceInfo menu_provider_iface_info = {
diff --git a/sendto/caja-nste.c b/sendto/caja-nste.c
index f730242..e1fe505 100644
--- a/sendto/caja-nste.c
+++ b/sendto/caja-nste.c
@@ -143,6 +143,7 @@ caja_nste_register_type (GTypeModule *module)
sizeof (CajaNste),
0,
(GInstanceInitFunc) caja_nste_instance_init,
+ NULL
};
static const GInterfaceInfo menu_provider_iface_info = {
diff --git a/sendto/caja-sendto-command.c b/sendto/caja-sendto-command.c
index e7d3698..8181db6 100644
--- a/sendto/caja-sendto-command.c
+++ b/sendto/caja-sendto-command.c
@@ -80,7 +80,7 @@ struct _NS_ui {
static const GOptionEntry entries[] = {
{ G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_FILENAME_ARRAY, &filenames, "Files to send", "[FILES...]" },
- { NULL }
+ { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL }
};
static void
diff --git a/share/caja-share.c b/share/caja-share.c
index c23c3f0..524d10a 100644
--- a/share/caja-share.c
+++ b/share/caja-share.c
@@ -1206,6 +1206,7 @@ caja_share_register_type (GTypeModule *module)
sizeof (CajaShare),
0,
(GInstanceInitFunc) caja_share_instance_init,
+ NULL
};
share_type = g_type_module_register_type (module,
diff --git a/wallpaper/caja-wallpaper-extension.c b/wallpaper/caja-wallpaper-extension.c
index 2e54db1..46a63b4 100644
--- a/wallpaper/caja-wallpaper-extension.c
+++ b/wallpaper/caja-wallpaper-extension.c
@@ -167,6 +167,7 @@ caja_cwe_register_type (GTypeModule *module)
sizeof (CajaCwe),
0,
(GInstanceInitFunc) caja_cwe_instance_init,
+ NULL
};
static const GInterfaceInfo menu_provider_iface_info = {
diff --git a/xattr-tags/caja-xattr-tags-extension.c b/xattr-tags/caja-xattr-tags-extension.c
index 5638df5..bc4e354 100644
--- a/xattr-tags/caja-xattr-tags-extension.c
+++ b/xattr-tags/caja-xattr-tags-extension.c
@@ -231,6 +231,7 @@ caja_xattr_tags_register_type(GTypeModule *module)
sizeof (CajaXattrTags),
0,
(GInstanceInitFunc) caja_xattr_tags_instance_init,
+ NULL
};