diff options
author | rbuj <[email protected]> | 2022-02-10 09:23:14 +0100 |
---|---|---|
committer | mbkma <[email protected]> | 2022-07-22 08:48:59 +0200 |
commit | 141440bf89af9df9b64f77ac3a1c0fc63b768989 (patch) | |
tree | ac9c684f96e61af9e8e36d24dbf90866df60ca49 /eel | |
parent | 160d754f2228e74daea5735c9fb6655e082de906 (diff) | |
download | caja-141440bf89af9df9b64f77ac3a1c0fc63b768989.tar.bz2 caja-141440bf89af9df9b64f77ac3a1c0fc63b768989.tar.xz |
Fix build warning -Wmissing-field-initializers
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-accessibility.c | 15 | ||||
-rw-r--r-- | eel/eel-canvas-rect-ellipse.c | 6 | ||||
-rw-r--r-- | eel/eel-canvas.c | 10 | ||||
-rw-r--r-- | eel/eel-labeled-image.c | 12 |
4 files changed, 28 insertions, 15 deletions
diff --git a/eel/eel-accessibility.c b/eel/eel-accessibility.c index 94c429a3..0d9707ad 100644 --- a/eel/eel-accessibility.c +++ b/eel/eel-accessibility.c @@ -218,11 +218,16 @@ eel_accessible_text_get_type (void) { const GTypeInfo tinfo = { - sizeof (AtkTextIface), - (GBaseInitFunc) NULL, - (GBaseFinalizeFunc) NULL, - (GClassInitFunc) NULL, - (GClassFinalizeFunc) NULL + sizeof (AtkTextIface), /* class_size */ + NULL, /* base_init */ + NULL, /* base_finalize */ + NULL, /* class_init */ + NULL, /* class_finalize */ + NULL, /* class_data */ + 0, /* instance_size */ + 0, /* n_preallocs */ + NULL, /* instance_init */ + NULL /* value_table */ }; type = g_type_register_static ( diff --git a/eel/eel-canvas-rect-ellipse.c b/eel/eel-canvas-rect-ellipse.c index 0e4a245e..7ca56a46 100644 --- a/eel/eel-canvas-rect-ellipse.c +++ b/eel/eel-canvas-rect-ellipse.c @@ -101,7 +101,8 @@ eel_canvas_re_get_type (void) NULL, /* class_data */ sizeof (EelCanvasRE), 0, /* n_preallocs */ - (GInstanceInitFunc) eel_canvas_re_init + (GInstanceInitFunc) eel_canvas_re_init, + NULL /* value_table */ }; re_type = g_type_register_static (eel_canvas_item_get_type (), @@ -465,7 +466,8 @@ eel_canvas_rect_get_type (void) NULL, /* class_data */ sizeof (EelCanvasRect), 0, /* n_preallocs */ - (GInstanceInitFunc) eel_canvas_rect_init + (GInstanceInitFunc) eel_canvas_rect_init, + NULL /* value_table */ }; rect_type = g_type_register_static (eel_canvas_re_get_type (), diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c index b5d5acc2..a9d98101 100644 --- a/eel/eel-canvas.c +++ b/eel/eel-canvas.c @@ -137,7 +137,8 @@ eel_canvas_item_get_type (void) NULL, /* class_data */ sizeof (EelCanvasItem), 0, /* n_preallocs */ - (GInstanceInitFunc) eel_canvas_item_init + (GInstanceInitFunc) eel_canvas_item_init, + NULL /* value_table */ }; canvas_item_type = g_type_register_static (G_TYPE_INITIALLY_UNOWNED, @@ -1255,8 +1256,8 @@ eel_canvas_group_get_type (void) NULL, /* class_data */ sizeof (EelCanvasGroup), 0, /* n_preallocs */ - (GInstanceInitFunc) eel_canvas_group_init - + (GInstanceInitFunc) eel_canvas_group_init, + NULL /* value_table */ }; group_type = g_type_register_static (eel_canvas_item_get_type (), @@ -1851,7 +1852,8 @@ eel_canvas_get_type (void) NULL, /* class_data */ sizeof (EelCanvas), 0, /* n_preallocs */ - (GInstanceInitFunc) eel_canvas_init + (GInstanceInitFunc) eel_canvas_init, + NULL /* value_table */ }; canvas_type = g_type_register_static (gtk_layout_get_type (), diff --git a/eel/eel-labeled-image.c b/eel/eel-labeled-image.c index 838da9cb..c7539bc8 100644 --- a/eel/eel-labeled-image.c +++ b/eel/eel-labeled-image.c @@ -2303,7 +2303,8 @@ eel_labeled_image_button_get_type (void) NULL, /* class_data */ sizeof (GtkButton), 0, /* n_preallocs */ - (GInstanceInitFunc) NULL + (GInstanceInitFunc) NULL, + NULL /* value_table */ }; type = g_type_register_static @@ -2331,7 +2332,8 @@ eel_labeled_image_check_button_get_type (void) NULL, /* class_data */ sizeof (GtkCheckButton), 0, /* n_preallocs */ - (GInstanceInitFunc) NULL + (GInstanceInitFunc) NULL, + NULL /* value_table */ }; type = g_type_register_static @@ -2359,7 +2361,8 @@ eel_labeled_image_toggle_button_get_type (void) NULL, /* class_data */ sizeof (GtkToggleButton), 0, /* n_preallocs */ - (GInstanceInitFunc) NULL + (GInstanceInitFunc) NULL, + NULL /* value_table */ }; type = g_type_register_static @@ -2387,7 +2390,8 @@ eel_labeled_image_radio_button_get_type (void) NULL, /* class_data */ sizeof (GtkRadioButton), 0, /* n_preallocs */ - (GInstanceInitFunc) NULL + (GInstanceInitFunc) NULL, + NULL /* value_table */ }; type = g_type_register_static |