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 363128 - gail should export gailwidget.h
gail should export gailwidget.h
Status: RESOLVED FIXED
Product: atk
Classification: Platform
Component: gail
unspecified
Other Linux
: Normal normal
: ---
Assigned To: bill.haneman
bill.haneman
Depends on:
Blocks: 363103
 
 
Reported: 2006-10-18 12:44 UTC by bill.haneman
Modified: 2007-11-21 08:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch that exports gail/gailwidget.h (931 bytes, patch)
2006-10-18 12:44 UTC, bill.haneman
committed Details | Review

Description bill.haneman 2006-10-18 12:44:00 UTC
gail currently only exports a very small number of interfaces, in libgail-util.  These interfaces are provided specifically so that custom widgets can more easily and consistently implement the ATK interfaces.

In general we don't want to export the other gail headers, since the implementation details of how ATK is provided for specific widgets is not something we want to require bincompat for, nor do we want these interfaces, in general, to be used externally (other than the ones in libgail-gnome).

However, virtually every custom widget ATK implementation in every app or toolkit that implements custom widgets, would like to inherit from GailWidget.  GailWidget 's type and class structs are actually very simple, so it would not be harmful to expose them; this would simplify the task of writing custom widgets somewhat, and eliminate the need to do hackish "anonymous inheritance" tricks as suggested in this paper: http://developer.gnome.org/projects/gap/presentations/GUAD3C/making-apps-accessible/anonymous-inheritance-1.html

I attach a patch which exports gailwidget.h.
Comment 1 bill.haneman 2006-10-18 12:44:50 UTC
Created attachment 74942 [details] [review]
patch that exports gail/gailwidget.h
Comment 2 Alejandro Piñeiro Iglesias (IRC: infapi00) 2007-10-25 15:01:19 UTC
This patch seems to not be applied. Anyway, I have take a look to the code, and seems that the changes related to this patch were done yet, in concrete, at revision 1207.

Should be this bug closed?
Comment 3 Li Yuan 2007-11-21 08:11:58 UTC
From svn log, the patch has been committed at 2006-11-08