summaryrefslogtreecommitdiff
path: root/eel/eel-canvas.c
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 /eel/eel-canvas.c
parent160d754f2228e74daea5735c9fb6655e082de906 (diff)
downloadcaja-141440bf89af9df9b64f77ac3a1c0fc63b768989.tar.bz2
caja-141440bf89af9df9b64f77ac3a1c0fc63b768989.tar.xz
Fix build warning -Wmissing-field-initializers
Diffstat (limited to 'eel/eel-canvas.c')
-rw-r--r--eel/eel-canvas.c10
1 files changed, 6 insertions, 4 deletions
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 (),