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 506885 - Stock ID stuff needs documentation
Stock ID stuff needs documentation
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: reference documentation
unspecified
Other Windows
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2008-01-02 17:23 UTC by Jonathon Jongsma
Modified: 2009-04-28 07:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to add more documentation for StockID stuff (5.52 KB, patch)
2009-04-22 08:40 UTC, Johannes Schmid
none Details | Review
Update patch to add the missing "."s (5.61 KB, patch)
2009-04-27 09:30 UTC, Johannes Schmid
committed Details | Review

Description Jonathon Jongsma 2008-01-02 17:23:06 UTC
The stock ID stuff is not really documented much at all, and it's not entirely clear how it's supposed to be used or how it all works.  It could really use some improved documentation
Comment 1 Murray Cumming 2008-01-03 09:38:42 UTC
I guess so. See also http://bugzilla.gnome.org/show_bug.cgi?id=359065
Comment 2 Murray Cumming 2008-03-22 09:58:44 UTC
Is there any C documentation that we can be inspired by?
Comment 4 Johannes Schmid 2009-04-22 08:40:54 UTC
Created attachment 133095 [details] [review]
Patch to add more documentation for StockID stuff

This patch adds as much documentation as I could find in the gtk+ docs.
Comment 5 Murray Cumming 2009-04-26 22:43:05 UTC
+
+/** See IconSet::lookup_default()

There is no such method.

You are also missing ending "."s in several places. Not only is that correct grammar, but it is required by Doxygen.

Comment 6 Johannes Schmid 2009-04-27 09:30:04 UTC
Created attachment 133400 [details] [review]
Update patch to add the missing "."s

This patch fixes the "."s and some minor typos.

BTW, IconSet::lookup_default exists:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1IconSet.html#a6cc0560e7f2ced992863f74704570ab
Comment 7 Murray Cumming 2009-04-27 09:45:47 UTC
> This patch fixes the "."s and some minor typos.

No, it doesn't: 
+  /** Looks for an icon in the list of default icon factories

Please correct and commit/push to master. Thanks.