summaryrefslogtreecommitdiff
path: root/gtk/gtkmaplistmodel.c
Commit message (Collapse)AuthorAgeFilesLines
* Drop gtkintl.hMatthias Clasen2022-09-241-1/+0
| | | | | Include gtkprivate.h for I_() and glib-i18n.h for gettext macros.
* maplistmodel: Fix an oversightMatthias Clasen2022-07-141-1/+1
| | | | This was meant to go into 678eb8ab76bd.
* maplistmodel: Fix items-changed emissionMatthias Clasen2022-07-141-6/+8
| | | | | | | | | We were modifying the removed value before passing it to the items-changed signal, so we always ended up with removed == 0 in our signal emission, instead of passing the original value on, as we should. Pointed out in !4870
* maplistmodel: Add ::item-type and ::n-itemsBenjamin Otte2022-06-111-0/+41
| | | | With tests!
* Remove all nicks and blurbs from param specsSophie Herold2022-05-111-6/+2
| | | | | | | | Those property features don't seem to be in use anywhere. They are redundant since the docs cover the same information and more. They also created unnecessary translation work. Closes #4904
* maplistmodel: CosmeticsMatthias Clasen2021-12-311-2/+1
|
* docs: Reduce redundancyMatthias Clasen2021-05-201-3/+3
| | | | | | | | Remove a boatload of "or %NULL" from nullable parameters and return values. gi-docgen generates suitable text from the annotation that we don't need to duplicate. This adds a few missing nullable annotations too.
* introspection: Stop using allow-noneMatthias Clasen2021-05-201-4/+4
| | | | | allow-none has been deprecated for a long time already. Instead use optional and nullable everywhere.
* maplistmodel: Convert docsMatthias Clasen2021-03-111-48/+47
|
* maplistmodel: Make constructor transfer fullMatthias Clasen2020-07-261-1/+4
| | | | | | | This is for consistency with other wrapping list constructors. We want them all to be transfer full, allow-none. Update all callers.
* listmodels: Stop respecting item-typeBenjamin Otte2020-07-051-35/+2
| | | | | | | | | | | | | | Simplify all view model APIs and always return G_TYPE_OBJECT as the item-type for every model. It turns out nobody uses item-type anyway. So instead of adding lots of APIs, forcing people to think about it and trying to figure out how to handle filter or map models that modify item types, just having an easy life is a better approach. All the models need to be able to deal with any type of object going through anyway.
* Fix minor typosYuri Chornoivan2020-05-281-1/+1
|
* maplistmodel: Add an example to the docsMatthias Clasen2020-02-041-3/+23
|
* Add missing (closure) GIR annotationsRobert Ancell2020-01-131-2/+2
|
* docs: Miscellaneous doc fixesMatthias Clasen2019-02-241-2/+1
| | | | | Additions and correction all over the place, in GDK and GTK docs.
* rbtree: Make node getters not require tree argumentBenjamin Otte2019-01-141-10/+10
| | | | | | | | | | | The tree is not needed to walk around the nodes. It is however still needed for anything that requires modifying the tree. There is no immediate benefit in changing this API, but there might be situations in the future where we can avoid looking up the tree when we just want to check some details about the node.
* Rename GtkCssRBTree to GtkRBTreeMatthias Clasen2019-01-141-40/+40
| | | | | This is a generally usable red-black tree api, and it is not used in css at all.
* listmodels: Clarify documentation for function prototypesBenjamin Otte2018-09-181-0/+5
| | | | Fixes #1341
* gtk: Fix some g-i annotations warningsRico Tzschichholz2018-09-171-5/+5
|
* GtkMapListModel: addBenjamin Otte2018-09-161-0/+627