diff options
author | rbuj <[email protected]> | 2021-04-18 12:52:47 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-07-21 19:33:51 +0200 |
commit | 6d8a8a0532e9d22652de91162b73c2262676524f (patch) | |
tree | aa3d9bf1ef2d9ee0faf070e57c989e92f001f6e9 /src | |
parent | 055f25476afad8fc4e0cd38ef06a2a9c8eea2930 (diff) | |
download | caja-6d8a8a0532e9d22652de91162b73c2262676524f.tar.bz2 caja-6d8a8a0532e9d22652de91162b73c2262676524f.tar.xz |
caja-window-menus: remove -Wcast-function-type warning
Diffstat (limited to 'src')
-rw-r--r-- | src/caja-window-menus.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/caja-window-menus.c b/src/caja-window-menus.c index 4830683a..e325dc66 100644 --- a/src/caja-window-menus.c +++ b/src/caja-window-menus.c @@ -1208,9 +1208,7 @@ caja_window_load_extension_menus (CajaWindow *window) if (items != NULL) { add_extension_menu_items (window, merge_id, action_group, items, ""); - - g_list_foreach (items, (GFunc) g_object_unref, NULL); - g_list_free (items); + g_list_free_full (items, g_object_unref); } } |