GTK4: no support for gtk_tree_view_set_rules_hint
Don't use gtk_tree_view_set_rules_hint() in GTK+4, it's not available. It is also deprecated in GTK+3 since 3.14, and the documentation advises to not use it at all, but I will leave the decision about whether to remove it entirely to someone else.
This commit is contained in:
@@ -106,7 +106,9 @@ GtkWidget *gtk_assert_dialog_create_backtrace_list_model ()
|
||||
/* create the tree view */
|
||||
treeview = gtk_tree_view_new_with_model (GTK_TREE_MODEL(store));
|
||||
g_object_unref (store);
|
||||
#ifndef __WXGTK4__
|
||||
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (treeview), TRUE);
|
||||
#endif
|
||||
|
||||
/* append columns */
|
||||
gtk_assert_dialog_append_text_column(treeview, "#", STACKFRAME_LEVEL_COLIDX);
|
||||
|
Reference in New Issue
Block a user