mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
GtkTreeView: Avoid deprecation warnings
This commit is contained in:
parent
f9d118ed8a
commit
9746419cce
@ -1926,7 +1926,9 @@ gtk_tree_view_set_property (GObject *object,
|
|||||||
gtk_tree_view_set_reorderable (tree_view, g_value_get_boolean (value));
|
gtk_tree_view_set_reorderable (tree_view, g_value_get_boolean (value));
|
||||||
break;
|
break;
|
||||||
case PROP_RULES_HINT:
|
case PROP_RULES_HINT:
|
||||||
|
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
|
||||||
gtk_tree_view_set_rules_hint (tree_view, g_value_get_boolean (value));
|
gtk_tree_view_set_rules_hint (tree_view, g_value_get_boolean (value));
|
||||||
|
G_GNUC_END_IGNORE_DEPRECATIONS
|
||||||
break;
|
break;
|
||||||
case PROP_ENABLE_SEARCH:
|
case PROP_ENABLE_SEARCH:
|
||||||
gtk_tree_view_set_enable_search (tree_view, g_value_get_boolean (value));
|
gtk_tree_view_set_enable_search (tree_view, g_value_get_boolean (value));
|
||||||
|
Loading…
Reference in New Issue
Block a user