mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
GtkTreeView rules_hint is deprecated after version 3.14
Rules hint is deprecated after version 3.14, add version test to remove.
This commit is contained in:
parent
4d61403037
commit
44cf167297
@ -297,7 +297,9 @@ gnc_find_account_dialog_create (GtkWidget *parent, FindAccountDialog *facc_dialo
|
||||
G_CALLBACK(row_double_clicked), (gpointer)facc_dialog);
|
||||
|
||||
/* Enable alternative line colors */
|
||||
#if !GTK_CHECK_VERSION(3, 14, 0)
|
||||
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW(facc_dialog->view), TRUE);
|
||||
#endif
|
||||
|
||||
/* default to 'close' button */
|
||||
gtk_dialog_set_default_response (GTK_DIALOG(dialog), GTK_RESPONSE_CLOSE);
|
||||
|
@ -688,8 +688,9 @@ gnc_imap_dialog_create (GtkWidget *parent, ImapDialog *imap_dialog)
|
||||
gtk_tree_model_filter_set_visible_column (GTK_TREE_MODEL_FILTER(filter), FILTER);
|
||||
|
||||
/* Enable alternative line colors */
|
||||
#if !GTK_CHECK_VERSION(3, 14, 0)
|
||||
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW(imap_dialog->view), TRUE);
|
||||
|
||||
#endif
|
||||
/* default to 'close' button */
|
||||
gtk_dialog_set_default_response (GTK_DIALOG(dialog), GTK_RESPONSE_CLOSE);
|
||||
|
||||
|
@ -435,8 +435,9 @@ gnc_assoc_dialog_create (AssocDialog *assoc_dialog)
|
||||
G_CALLBACK(row_selected_cb), (gpointer)assoc_dialog);
|
||||
|
||||
/* Enable alternative line colors */
|
||||
#if !GTK_CHECK_VERSION(3, 14, 0)
|
||||
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW(assoc_dialog->view), TRUE);
|
||||
|
||||
#endif
|
||||
/* default to 'close' button */
|
||||
gtk_dialog_set_default_response (GTK_DIALOG(dialog), GTK_RESPONSE_CLOSE);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user