Added convenience function gplugin_manager_add_paths_from_environment
Review Request #997 — Created Oct. 5, 2021 and submitted
Added convenience functions gplugin_manager_append_paths_from_environment and gplugin_manager_prepend_paths_from_environment
Wrote a test that passes.
Summary | ID |
---|---|
d0c8780cfb616fa43b09fb6382de531e881a5c21 | |
5df1c1aaadf17dd1e384048670d9f3799a4519ea |
Description | From | Last Updated |
---|---|---|
Needs a . at the end of the sentenance. |
grim | |
. again |
grim | |
You need to check if g_getenv actually returned something. |
QuLogic | |
we tend to avoid prefix incrementing because it confuses the crap out of people. |
grim | |
Always braces, and not multiple statements in one line. |
QuLogic | |
The docs should state that it prepends. Or maybe there should be both gplugin_manager_append_paths_from_environment / gplugin_manager_prepend_paths_from_environment? |
QuLogic | |
Only /* */ comments. |
QuLogic | |
gint |
QuLogic | |
No definitions in the middle of a function. |
QuLogic | |
The path names were changed from what this comment says. |
QuLogic | |
manager's |
QuLogic | |
The inner parentheses are redundant, and also you've not set paths to anything, so this should have failed. |
QuLogic | |
Should be static to be internal |
QuLogic | |
Extra blank lines. |
QuLogic | |
This doc line has changed to be 'The manager instance.' everywhere. |
QuLogic | |
Ditto. |
QuLogic | |
If this gets incremented for every path, then how can it be 4 at the end? |
QuLogic | |
Free post_paths. |
QuLogic | |
I think I'd rather see something like gboolean append instead of a function pointer getting passed around. |
grim | |
There should be a * Since: 0.36.0 at the end of the doc comment. |
grim | |
There should be a * Since: 0.36.0 at the end of the doc comment. |
grim | |
Add another line above this to be separate paragraph. |
QuLogic | |
Add another line above this to be separate paragraph. |
QuLogic |
- Commits:
-
Summary ID 3b289e696a0d0e7df59ac9fa99e6eff6608bdc23 045a1e47489ad9d9434b01e22665fdda721b31cc
- Bugs:
- Description:
-
~ Added convenience function gplugin_manager_add_paths_from_environment
~ Added convenience functions gplugin_manager_append_paths_from_environment and gplugin_manager_prepend_paths_from_environment
- Testing Done:
-
~ Wrote a test that I think passes, but needs a check.
~ Wrote a test that passes.
- Commits:
-
Summary ID 045a1e47489ad9d9434b01e22665fdda721b31cc 07802bdc63356f6602dcb0bbd96f41da2aa85541
- Change Summary:
-
Fix raised issues
- Commits:
-
Summary ID 07802bdc63356f6602dcb0bbd96f41da2aa85541 b473f2aeadd1c2efb2c9c7913da172dec82c92f7
- Change Summary:
-
Added 'Since:' comments. Changed function pointer to gboolean. Renamed var that was too close to another name.
- Commits:
-
Summary ID b473f2aeadd1c2efb2c9c7913da172dec82c92f7 7121269aa0b5f725e598470031095da260b4b487 3f494e3443a51f1ed9cb54b5bd19db2edd9e5d06