summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-08-31 15:53:11 +0200
committerRobert Antoni Buj Gelonch <[email protected]>2019-09-03 18:11:28 +0200
commit3022fd87f4360dcd8458be65e468e065cbc1e8a5 (patch)
tree32da4b100c071a5824635cc76fb868409a0d617d /src
parent22055045d0aedfdc59bd02262ba4f772bc98f22e (diff)
downloadengrampa-3022fd87f4360dcd8458be65e468e065cbc1e8a5.tar.bz2
engrampa-3022fd87f4360dcd8458be65e468e065cbc1e8a5.tar.xz
Missing initializer for struct field
caja-engrampa.c:439:2: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘const struct _GTypeInfo’} [-Wmissing-field-initializers] eggtreemultidnd.c:70:2: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘const struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command.c:98:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-7z.c:750:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-ace.c:334:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-alz.c:397:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-ar.c:383:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-arj.c:429:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command.c:98:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-cfile.c:692:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-cpio.c:319:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-dpkg.c:305:17: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-iso.c:308:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-jar.c:234:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-lha.c:408:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-lrzip.c:262:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-rar.c:832:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-rpm.c:319:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-tar.c:1267:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-unarchiver.c:361:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-unstuff.c:381:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-zip.c:513:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-command-zoo.c:419:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-window.c:839:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] fr-list-model.c:148:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘const struct _GTypeInfo’} [-Wmissing-field-initializers] fr-process.c:248:3: warning: missing initializer for field ‘value_table’ of ‘GTypeInfo’ {aka ‘struct _GTypeInfo’} [-Wmissing-field-initializers] ui.h:32:2: warning: missing initializer for field ‘accelerator’ of ‘GtkActionEntry’ {aka ‘struct _GtkActionEntry’} [-Wmissing-field-initializers] ui.h:33:2: warning: missing initializer for field ‘accelerator’ of ‘GtkActionEntry’ {aka ‘struct _GtkActionEntry’} [-Wmissing-field-initializers] ui.h:34:2: warning: missing initializer for field ‘accelerator’ of ‘GtkActionEntry’ {aka ‘struct _GtkActionEntry’} [-Wmissing-field-initializers] ui.h:35:2: warning: missing initializer for field ‘accelerator’ of ‘GtkActionEntry’ {aka ‘struct _GtkActionEntry’} [-Wmissing-field-initializers] ui.h:36:2: warning: missing initializer for field ‘accelerator’ of ‘GtkActionEntry’ {aka ‘struct _GtkActionEntry’} [-Wmissing-field-initializers]
Diffstat (limited to 'src')
-rw-r--r--src/eggtreemultidnd.c1
-rw-r--r--src/fr-archive.c3
-rw-r--r--src/fr-command-7z.c3
-rw-r--r--src/fr-command-ace.c3
-rw-r--r--src/fr-command-alz.c3
-rw-r--r--src/fr-command-ar.c3
-rw-r--r--src/fr-command-arj.c3
-rw-r--r--src/fr-command-cfile.c3
-rw-r--r--src/fr-command-cpio.c3
-rw-r--r--src/fr-command-dpkg.c3
-rw-r--r--src/fr-command-iso.c3
-rw-r--r--src/fr-command-jar.c3
-rw-r--r--src/fr-command-lha.c3
-rw-r--r--src/fr-command-lrzip.c3
-rw-r--r--src/fr-command-rar.c3
-rw-r--r--src/fr-command-rpm.c3
-rw-r--r--src/fr-command-tar.c3
-rw-r--r--src/fr-command-unarchiver.c3
-rw-r--r--src/fr-command-unstuff.c3
-rw-r--r--src/fr-command-zip.c3
-rw-r--r--src/fr-command-zoo.c3
-rw-r--r--src/fr-command.c3
-rw-r--r--src/fr-list-model.c1
-rw-r--r--src/fr-process.c3
-rw-r--r--src/fr-window.c3
-rw-r--r--src/ui.h10
26 files changed, 53 insertions, 28 deletions
diff --git a/src/eggtreemultidnd.c b/src/eggtreemultidnd.c
index 3b4576e..f3d4534 100644
--- a/src/eggtreemultidnd.c
+++ b/src/eggtreemultidnd.c
@@ -66,6 +66,7 @@ egg_tree_multi_drag_source_get_type (void)
NULL, /* class_data */
0,
0, /* n_preallocs */
+ NULL,
NULL
};
diff --git a/src/fr-archive.c b/src/fr-archive.c
index 8d46389..ce3d13e 100644
--- a/src/fr-archive.c
+++ b/src/fr-archive.c
@@ -203,7 +203,8 @@ fr_archive_get_type (void)
NULL,
sizeof (FrArchive),
0,
- (GInstanceInitFunc) fr_archive_init
+ (GInstanceInitFunc) fr_archive_init,
+ NULL
};
type = g_type_register_static (G_TYPE_OBJECT,
diff --git a/src/fr-command-7z.c b/src/fr-command-7z.c
index 4889c4f..3126430 100644
--- a/src/fr-command-7z.c
+++ b/src/fr-command-7z.c
@@ -746,7 +746,8 @@ fr_command_7z_get_type ()
NULL,
sizeof (FrCommand7z),
0,
- (GInstanceInitFunc) fr_command_7z_init
+ (GInstanceInitFunc) fr_command_7z_init,
+ NULL
};
type = g_type_register_static (FR_TYPE_COMMAND,
diff --git a/src/fr-command-ace.c b/src/fr-command-ace.c
index 0e13efd..0794051 100644
--- a/src/fr-command-ace.c
+++ b/src/fr-command-ace.c
@@ -330,7 +330,8 @@ fr_command_ace_get_type ()
NULL,
sizeof (FrCommandAce),
0,
- (GInstanceInitFunc) fr_command_ace_init
+ (GInstanceInitFunc) fr_command_ace_init,
+ NULL
};
type = g_type_register_static (FR_TYPE_COMMAND,
diff --git a/src/fr-command-alz.c b/src/fr-command-alz.c
index efa8cdd..e119dfe 100644
--- a/src/fr-command-alz.c
+++ b/src/fr-command-alz.c
@@ -393,7 +393,8 @@ fr_command_alz_get_type ()
NULL,
sizeof (FrCommandAlz),
0,
- (GInstanceInitFunc) fr_command_alz_init
+ (GInstanceInitFunc) fr_command_alz_init,
+ NULL
};
type = g_type_register_static (FR_TYPE_COMMAND,
diff --git a/src/fr-command-ar.c b/src/fr-command-ar.c
index c9bab5d..2e2ae70 100644
--- a/src/fr-command-ar.c
+++ b/src/fr-command-ar.c
@@ -379,7 +379,8 @@ fr_command_ar_get_type ()
NULL,
sizeof (FrCommandAr),
0,
- (GInstanceInitFunc) fr_command_ar_init
+ (GInstanceInitFunc) fr_command_ar_init,
+ NULL
};
type = g_type_register_static (FR_TYPE_COMMAND,
diff --git a/src/fr-command-arj.c b/src/fr-command-arj.c
index f9758de..a6f0f71 100644
--- a/src/fr-command-arj.c
+++ b/src/fr-command-arj.c
@@ -425,7 +425,8 @@ fr_command_arj_get_type ()
NULL,
sizeof (FrCommandArj),
0,
- (GInstanceInitFunc) fr_command_arj_init
+ (GInstanceInitFunc) fr_command_arj_init,
+ NULL
};
type = g_type_register_static (FR_TYPE_COMMAND,
diff --git a/src/fr-command-cfile.c b/src/fr-command-cfile.c
index e71ea65..2a83836 100644
--- a/src/fr-command-cfile.c
+++ b/src/fr-command-cfile.c
@@ -688,7 +688,8 @@ fr_command_cfile_get_type ()
NULL,
sizeof (FrCommandCFile),
0,
- (GInstanceInitFunc) fr_command_cfile_init
+ (GInstanceInitFunc) fr_command_cfile_init,
+ NULL
};
type = g_type_register_static (FR_TYPE_COMMAND,
diff --git a/src/fr-command-cpio.c b/src/fr-command-cpio.c
index 539ccc3..35a739d 100644
--- a/src/fr-command-cpio.c
+++ b/src/fr-command-cpio.c
@@ -315,7 +315,8 @@ fr_command_cpio_get_type ()
NULL,
sizeof (FrCommandCpio),
0,
- (GInstanceInitFunc) fr_command_cpio_init
+ (GInstanceInitFunc) fr_command_cpio_init,
+ NULL
};
type = g_type_register_static (FR_TYPE_COMMAND,
diff --git a/src/fr-command-dpkg.c b/src/fr-command-dpkg.c
index e2e0b0a..825d2ab 100644
--- a/src/fr-command-dpkg.c
+++ b/src/fr-command-dpkg.c
@@ -301,7 +301,8 @@ fr_command_dpkg_get_type ()
NULL,
sizeof (FrCommandDpkg),
0,
- (GInstanceInitFunc) fr_command_dpkg_init
+ (GInstanceInitFunc) fr_command_dpkg_init,
+ NULL
};
type = g_type_register_static (FR_TYPE_COMMAND,
diff --git a/src/fr-command-iso.c b/src/fr-command-iso.c
index 48382ea..9116b6e 100644
--- a/src/fr-command-iso.c
+++ b/src/fr-command-iso.c
@@ -304,7 +304,8 @@ fr_command_iso_get_type ()
NULL,
sizeof (FrCommandIso),
0,
- (GInstanceInitFunc) fr_command_iso_init
+ (GInstanceInitFunc) fr_command_iso_init,
+ NULL
};
type = g_type_register_static (FR_TYPE_COMMAND,
diff --git a/src/fr-command-jar.c b/src/fr-command-jar.c
index e93bfe8..03e7cd9 100644
--- a/src/fr-command-jar.c
+++ b/src/fr-command-jar.c
@@ -230,7 +230,8 @@ fr_command_jar_get_type ()
NULL,
sizeof (FrCommandJar),
0,
- (GInstanceInitFunc) fr_command_jar_init
+ (GInstanceInitFunc) fr_command_jar_init,
+ NULL
};
type = g_type_register_static (FR_TYPE_COMMAND_ZIP,
diff --git a/src/fr-command-lha.c b/src/fr-command-lha.c
index 393ff7c..a3b7398 100644
--- a/src/fr-command-lha.c
+++ b/src/fr-command-lha.c
@@ -404,7 +404,8 @@ fr_command_lha_get_type ()
NULL,
sizeof (FrCommandLha),
0,
- (GInstanceInitFunc) fr_command_lha_init
+ (GInstanceInitFunc) fr_command_lha_init,
+ NULL
};
type = g_type_register_static (FR_TYPE_COMMAND,
diff --git a/src/fr-command-lrzip.c b/src/fr-command-lrzip.c
index 74cb9fd..cf07d33 100644
--- a/src/fr-command-lrzip.c
+++ b/src/fr-command-lrzip.c
@@ -258,7 +258,8 @@ fr_command_lrzip_get_type ()
NULL,
sizeof (FrCommandLrzip),
0,
- (GInstanceInitFunc) fr_command_lrzip_init
+ (GInstanceInitFunc) fr_command_lrzip_init,
+ NULL
};
type = g_type_register_static (FR_TYPE_COMMAND,
diff --git a/src/fr-command-rar.c b/src/fr-command-rar.c
index 5fe4c7b..3602e29 100644
--- a/src/fr-command-rar.c
+++ b/src/fr-command-rar.c
@@ -828,7 +828,8 @@ fr_command_rar_get_type ()
NULL,
sizeof (FrCommandRar),
0,
- (GInstanceInitFunc) fr_command_rar_init
+ (GInstanceInitFunc) fr_command_rar_init,
+ NULL
};
type = g_type_register_static (FR_TYPE_COMMAND,
diff --git a/src/fr-command-rpm.c b/src/fr-command-rpm.c
index 8328343..bb14562 100644
--- a/src/fr-command-rpm.c
+++ b/src/fr-command-rpm.c
@@ -315,7 +315,8 @@ fr_command_rpm_get_type ()
NULL,
sizeof (FrCommandRpm),
0,
- (GInstanceInitFunc) fr_command_rpm_init
+ (GInstanceInitFunc) fr_command_rpm_init,
+ NULL
};
type = g_type_register_static (FR_TYPE_COMMAND,
diff --git a/src/fr-command-tar.c b/src/fr-command-tar.c
index dcb33a9..e24e296 100644
--- a/src/fr-command-tar.c
+++ b/src/fr-command-tar.c
@@ -1263,7 +1263,8 @@ fr_command_tar_get_type ()
NULL,
sizeof (FrCommandTar),
0,
- (GInstanceInitFunc) fr_command_tar_init
+ (GInstanceInitFunc) fr_command_tar_init,
+ NULL
};
type = g_type_register_static (FR_TYPE_COMMAND,
diff --git a/src/fr-command-unarchiver.c b/src/fr-command-unarchiver.c
index 615376d..5e2acd4 100644
--- a/src/fr-command-unarchiver.c
+++ b/src/fr-command-unarchiver.c
@@ -357,7 +357,8 @@ fr_command_unarchiver_get_type ()
NULL,
sizeof (FrCommandUnarchiver),
0,
- (GInstanceInitFunc) fr_command_unarchiver_init
+ (GInstanceInitFunc) fr_command_unarchiver_init,
+ NULL
};
type = g_type_register_static (FR_TYPE_COMMAND,
diff --git a/src/fr-command-unstuff.c b/src/fr-command-unstuff.c
index e8e8dda..00f0ff2 100644
--- a/src/fr-command-unstuff.c
+++ b/src/fr-command-unstuff.c
@@ -377,7 +377,8 @@ fr_command_unstuff_get_type ()
NULL,
sizeof (FrCommandUnstuff),
0,
- (GInstanceInitFunc) fr_command_unstuff_init
+ (GInstanceInitFunc) fr_command_unstuff_init,
+ NULL
};
type = g_type_register_static (FR_TYPE_COMMAND,
diff --git a/src/fr-command-zip.c b/src/fr-command-zip.c
index bd29fa4..f16cc9a 100644
--- a/src/fr-command-zip.c
+++ b/src/fr-command-zip.c
@@ -509,7 +509,8 @@ fr_command_zip_get_type ()
NULL,
sizeof (FrCommandZip),
0,
- (GInstanceInitFunc) fr_command_zip_init
+ (GInstanceInitFunc) fr_command_zip_init,
+ NULL
};
type = g_type_register_static (FR_TYPE_COMMAND,
diff --git a/src/fr-command-zoo.c b/src/fr-command-zoo.c
index 617e4e8..1919d3b 100644
--- a/src/fr-command-zoo.c
+++ b/src/fr-command-zoo.c
@@ -415,7 +415,8 @@ fr_command_zoo_get_type ()
NULL,
sizeof (FrCommandZoo),
0,
- (GInstanceInitFunc) fr_command_zoo_init
+ (GInstanceInitFunc) fr_command_zoo_init,
+ NULL
};
type = g_type_register_static (FR_TYPE_COMMAND,
diff --git a/src/fr-command.c b/src/fr-command.c
index 21e138e..5bc4cc8 100644
--- a/src/fr-command.c
+++ b/src/fr-command.c
@@ -94,7 +94,8 @@ fr_command_get_type ()
NULL,
sizeof (FrCommand),
0,
- (GInstanceInitFunc) fr_command_init
+ (GInstanceInitFunc) fr_command_init,
+ NULL
};
type = g_type_register_static (G_TYPE_OBJECT,
diff --git a/src/fr-list-model.c b/src/fr-list-model.c
index 3a655e5..78b8f1d 100644
--- a/src/fr-list-model.c
+++ b/src/fr-list-model.c
@@ -145,6 +145,7 @@ fr_list_model_get_type (void)
sizeof (FRListModel),
0,
(GInstanceInitFunc) fr_list_model_init,
+ NULL
};
static const GInterfaceInfo multi_drag_source_info = {
diff --git a/src/fr-process.c b/src/fr-process.c
index 7ee2d70..a5621a9 100644
--- a/src/fr-process.c
+++ b/src/fr-process.c
@@ -244,7 +244,8 @@ fr_process_get_type (void)
NULL,
sizeof (FrProcess),
0,
- (GInstanceInitFunc) fr_process_init
+ (GInstanceInitFunc) fr_process_init,
+ NULL
};
type = g_type_register_static (G_TYPE_OBJECT,
diff --git a/src/fr-window.c b/src/fr-window.c
index ee296ce..e007ace 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -835,7 +835,8 @@ fr_window_get_type (void)
NULL,
sizeof (FrWindow),
0,
- (GInstanceInitFunc) fr_window_init
+ (GInstanceInitFunc) fr_window_init,
+ NULL
};
type = g_type_register_static (GTK_TYPE_APPLICATION_WINDOW,
diff --git a/src/ui.h b/src/ui.h
index f1b9eaa..a288468 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -29,11 +29,11 @@
static GtkActionEntry action_entries[] = {
- { "FileMenu", NULL, N_("_Archive") },
- { "EditMenu", NULL, N_("_Edit") },
- { "ViewMenu", NULL, N_("_View") },
- { "HelpMenu", NULL, N_("_Help") },
- { "ArrangeFilesMenu", NULL, N_("_Arrange Files") },
+ { "FileMenu", NULL, N_("_Archive"), NULL, NULL, NULL },
+ { "EditMenu", NULL, N_("_Edit"), NULL, NULL, NULL },
+ { "ViewMenu", NULL, N_("_View"), NULL, NULL, NULL },
+ { "HelpMenu", NULL, N_("_Help"), NULL, NULL, NULL },
+ { "ArrangeFilesMenu", NULL, N_("_Arrange Files"), NULL, NULL, NULL },
{ "About", "help-about",
N_("_About"), NULL,