Skip to content

Commit

Permalink
projectorganizer: prjorg-sidebar.c: Cast g_ptr_array_free to gchar**
Browse files Browse the repository at this point in the history
Grepping the source code shows this is already done in
pohelper/src/gph-plugin.c at line 903.

Tests run: Compiles on GCC 14

Fixes #1297
  • Loading branch information
csfore committed Dec 9, 2023
1 parent 6227d2b commit ffb743e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projectorganizer/src/prjorg-sidebar.c
Original file line number Diff line number Diff line change
Expand Up @@ -1562,7 +1562,7 @@ gchar **prjorg_sidebar_get_expanded_paths(void)
(GtkTreeViewMappingFunc)on_map_expanded, expanded_paths);
g_ptr_array_add(expanded_paths, NULL);

return g_ptr_array_free(expanded_paths, FALSE);
return (gchar **) g_ptr_array_free(expanded_paths, FALSE);
}


Expand Down

0 comments on commit ffb743e

Please sign in to comment.