After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 517047 - [PATCH] Port to GOption
[PATCH] Port to GOption
Status: RESOLVED FIXED
Product: gnome-build
Classification: Deprecated
Component: miscellaneous
SVN HEAD
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-build Maintainers List
gnome-build Maintainers List
Depends on:
Blocks:
 
 
Reported: 2008-02-17 18:35 UTC by Michael Terry
Modified: 2008-06-13 20:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (687 bytes, patch)
2008-02-17 18:36 UTC, Michael Terry
committed Details | Review

Description Michael Terry 2008-02-17 18:35:15 UTC
Part of the Popt to GOption GnomeGoal (http://live.gnome.org/GnomeGoals/PoptGOption).

Attached is a super-trivial patch to port the test-project-view program to GOption, such as it is.  The program itself doesn't have any arguments, but passing gnome_program_init a goption context causes the output to look like other goption-enabled programs.  Also, the patch removes the double-adding of bonobo options (since gnome_program_init adds them for us, we don't need to do it ourselves).
Comment 1 Michael Terry 2008-02-17 18:36:05 UTC
Created attachment 105450 [details] [review]
Proposed patch
Comment 2 Wouter Bolsterlee (uws) 2008-02-29 16:54:13 UTC
Patch looks good to me. Could one of the maintainers please review?
Comment 3 Johannes Schmid 2008-06-13 20:39:42 UTC
Thanks for the patch. 

Sorry, I once looked at it and though it's ok but not urgent and then forgot about it.