-
-
gplugin/gplugin-manager.c (Diff revision 1) You need to check if
g_getenv
actually returned something. -
gplugin/gplugin-manager.c (Diff revision 1) 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
? -
-
gplugin/tests/test-plugin-manager-paths.c (Diff revision 1) No definitions in the middle of a function.
-
gplugin/tests/test-plugin-manager-paths.c (Diff revision 1) The inner parentheses are redundant, and also you've not set
paths
to anything, so this should have failed.
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 |
-
-
-
-
gplugin/gplugin-manager.c (Diff revision 1) we tend to avoid prefix incrementing because it confuses the crap out of people.
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+172) |
-
-
gplugin/gplugin-manager.c (Diff revisions 1 - 2) Always braces, and not multiple statements in one line.
-
-
gplugin/tests/test-plugin-manager-paths.c (Diff revisions 1 - 2) The path names were changed from what this comment says.
-
Description: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Testing Done: |
|
|||||||
Commits: |
|
|||||||
Diff: |
Revision 3 (+284) |
-
-
-
-
gplugin/gplugin-manager.c (Diff revision 3) This doc line has changed to be 'The manager instance.' everywhere.
-
-
gplugin/tests/test-plugin-manager-paths.c (Diff revision 3) If this gets incremented for every path, then how can it be 4 at the end?
-
Change Summary:
Fix raised issues
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 4 (+280) |
-
-
gplugin/gplugin-manager.c (Diff revision 4) I think I'd rather see something like
gboolean append
instead of a function pointer getting passed around. -
gplugin/gplugin-manager.c (Diff revision 4) There should be a
* Since: 0.36.0
at the end of the doc comment. -
gplugin/gplugin-manager.c (Diff revision 4) There should be a
* Since: 0.36.0
at the end of the doc comment.
Change Summary:
Added 'Since:' comments. Changed function pointer to gboolean. Renamed var that was too close to another name.
Commits: |
|
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 5 (+298 -2) |
-
Ship It!
-
-
Change Summary:
Fixed clang-format's complaints.
Commits: |
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 6 (+54 -78) |