GNOME Bugzilla – Bug 84148
gnome_help_display_with_doc_id() doesn't use doc_id
Last modified: 2006-01-01 21:45:37 UTC
gnome_help_display_with_doc_id() takes a doc_id parameter, which the documentation describes as the 'document identifier'. But it doesn't use it at all. That is pretty awful.
Created attachment 35894 [details] [review] Proposed patch
Removing API keyword and adding PATCH since this isn't about changing/adding API bug actually using arguments passed to the function.
Commiting this.
Hey guys, you've broke ABI with this patch. Look at the bug 324141
Created attachment 56285 [details] [review] Additional patch Previously gnome_help_display was passing NULL as doc_id and it was converted to "", now it is converted to "program_name" and this change breaks document search. I propose to commit that patch to quickly fix gnome_help_display behaviour.
Created attachment 56286 [details] [review] Probably better patch This patch tries to completely revert ABI breakage. Probably there were external programs using this display_document_with_id, and they can rely on id == NULL behaviour also as gnome_help_display do.
Commited the last patch.