| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
gcc has optimizations for include guards that only work
if they are outermost in the the header.
https://bugzilla.gnome.org/show_bug.cgi?id=689810
|
|
|
|
| |
More preparation for installing these headers.
|
|
|
|
|
|
|
| |
Since we are going to install these headers soon, we need
to make their mutual includes work in the installed location
as well. Also, avoid including individual gtk headers, to
avoid trouble with single-include guards.
|
|
|
|
| |
Replace GAIL in top comments by 'GTK+ - accessibility implementations'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit exposes the get_type() functions and standard
headers for accessible implementations. This makes it possible
to derive from the GTK accessible implementations without
GType magic tricks. This is necessary, because we require the
a11y type hierarchy to be parallel to the widget type hierarchy.
So, if you derive a widget and need to adjust its a11y implementation,
you have to be able to derive its accessible implementation.
This commit probably exposes more than is absolutely necessary,
it also exposes accessibles of widgets that are unlikely candidates
for deriving from.
|
|
|
|
|
| |
Move instance fields to a private struct, in preparation
for installing a11y headers.
|
| |
|
|
|
|
|
|
|
| |
use direct access to the RBTree instead of fiddling with the path.
Removes the lat caller of get_index() and with it count_rows(), so those
are gone now.
|
| |
|
|
|
|
|
|
|
| |
No more signal handler is needed, therefore the code can also get rid of
tracking the treemodel. And we use a faster approach for iterating the
changed cellrenderers: We just iterate all columns instead of over all
cell accessibles, as that number is likely quite a bit smaller.
|
|
|
|
| |
Instead, just call remove_state().
|
|
|
|
| |
... and use that to emit the insertion signals.
|
|
|
|
| |
It's not needed anymore.
|
|
|
|
| |
Instead, add a function and call it directly.
|
|
|
|
|
| |
... and _gtk_tree_view_accessible_remove_state(). They should be called
by gtktreeview.c to notify about changes of state for a row.
|
|
|
|
|
| |
As cells are always visible and showing, there is no need to do complex
notification mechanisms anymore.
|
|
|
|
|
| |
That way, no more signal handler is needed in the a11y code. Plus, we
avoid needless signal emissions for rows we don't care about.
|
|
|
|
|
|
|
|
|
| |
This way, the a11y code knows if a column was reordered, added or
removed and can do the right things instead of trying to guess and
getting it wrong.
Also, this patch finalizes the changes so that only visible columns
exist to the accessibility interface.
|
|
|
|
|
| |
We now index rows by actual expanded row number and don't count them
ourselves no more.
|
|
|
|
|
|
|
|
| |
Track the RBNode/RBTree instead of keeping a TreeRowReference. This is a
whole lot faster and less error-prone.
Also, notify the accessible of removal of rows before actually removing
them, so we have a chance to clean up.
|
|
|
|
| |
Instead, remove cell infos immediately from the hash table.
|
|
|
|
|
|
|
|
| |
- Name it properly
- Make it just a set of cell_infos
Currently it's using direct hash, but as long as we don't actually
lookup stuff from it, who cares...
|
| |
|
|
|
|
|
|
| |
This way, we can include them without accidentally including deprecated
code. Which means we can still use the recently added turning-off tricks
for deprecation warnings.
|
|
|
|
| |
Including _-prefixing the API to reduce unwanted exports.
|
|
|
|
|
| |
_-prefix most of the get_type functions in a11y/.
There are still some more symbols left.
|
| |
|
|
Mostly code rearrangement and cleanup, but also a memory
leak fix in gtk_tree_view_accessible_get_column_description().
|