summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-28 15:23:52 +0200
committerraveit65 <[email protected]>2022-02-19 23:37:38 +0100
commit24ea262463a37bab5f23a47b269b39f00a7f380e (patch)
tree336c3819b96d8c8698b7b513a9b87c1d71b8ff02
parent3841c753e3f103c7164e9eaf2d6b96d7c644209b (diff)
downloadcaja-extensions-24ea262463a37bab5f23a47b269b39f00a7f380e.tar.bz2
caja-extensions-24ea262463a37bab5f23a47b269b39f00a7f380e.tar.xz
Fix build warnings about missing field initializer
-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 982eb14..e14a9bf 100644
--- a/open-terminal/caja-open-terminal.c
+++ b/open-terminal/caja-open-terminal.c
@@ -640,6 +640,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 f89b8a4..429b368 100644
--- a/sendto/caja-nste.c
+++ b/sendto/caja-nste.c
@@ -137,6 +137,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 eac35ad..67c43c3 100644
--- a/share/caja-share.c
+++ b/share/caja-share.c
@@ -1201,6 +1201,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 042deb1..3119e9f 100644
--- a/wallpaper/caja-wallpaper-extension.c
+++ b/wallpaper/caja-wallpaper-extension.c
@@ -160,6 +160,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 bd2c35e..a7f6d03 100644
--- a/xattr-tags/caja-xattr-tags-extension.c
+++ b/xattr-tags/caja-xattr-tags-extension.c
@@ -224,6 +224,7 @@ caja_xattr_tags_register_type(GTypeModule *module)
sizeof (CajaXattrTags),
0,
(GInstanceInitFunc) caja_xattr_tags_instance_init,
+ NULL
};
caja_xattr_tags_type = g_type_module_register_type (module,