Merge branch 'bilelmoussaoui/tree-deprecated' into 'main'

gi: Mark more GtkTreeModel types as deprecated

See merge request GNOME/gtk!6241
This commit is contained in:
Matthias Clasen 2023-08-05 12:09:25 +00:00
commit a39d9d60a7
2 changed files with 8 additions and 0 deletions

View File

@ -257,6 +257,8 @@ static guint tree_model_signals[LAST_SIGNAL] = { 0 };
* GtkTreePath:
*
* An opaque structure representing a path to a row in a model.
*
* Deprecated: 4.10
*/
struct _GtkTreePath
{

View File

@ -69,6 +69,8 @@ typedef gboolean (* GtkTreeModelForeachFunc) (GtkTreeModel *model, GtkTreePath *
* static for the lifetime of the object. A more complete description
* of %GTK_TREE_MODEL_ITERS_PERSIST can be found in the overview of
* this section.
*
* Deprecated: 4.10
*/
typedef enum
{
@ -88,6 +90,8 @@ typedef enum
* integer in the @stamp member, and put
* model-specific data in the three @user_data
* members.
*
* Deprecated: 4.10
*/
struct _GtkTreeIter
{
@ -251,6 +255,8 @@ gboolean gtk_tree_path_is_descendant (GtkTreePath *path,
* A GtkTreeRowReference tracks model changes so that it always refers to the
* same row (a `GtkTreePath` refers to a position, not a fixed row). Create a
* new GtkTreeRowReference with gtk_tree_row_reference_new().
*
* Deprecated: 4.10: Use [iface@Gio.ListModel] instead
*/
GDK_AVAILABLE_IN_ALL