[gnome-bluetooth/wip/hadess/cleanups: 11/11] lib: Remove deprecated gtk_tree_view_set_rules_hint() calls




commit 647c35a3641154bc6dc9eae2a11ffc962c490aa3
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Feb 10 17:38:59 2021 +0100

    lib: Remove deprecated gtk_tree_view_set_rules_hint() calls

 lib/bluetooth-chooser.c | 2 --
 lib/test-client.c       | 1 -
 2 files changed, 3 deletions(-)
---
diff --git a/lib/bluetooth-chooser.c b/lib/bluetooth-chooser.c
index f76ad8c0..50583224 100644
--- a/lib/bluetooth-chooser.c
+++ b/lib/bluetooth-chooser.c
@@ -686,8 +686,6 @@ create_treeview (BluetoothChooser *self)
 
        gtk_tree_view_set_headers_visible (GTK_TREE_VIEW(tree), TRUE);
 
-       gtk_tree_view_set_rules_hint (GTK_TREE_VIEW(tree), TRUE);
-
        g_object_set (tree, "show-expanders", FALSE, NULL);
 
        g_signal_connect (G_OBJECT (tree), "row-activated",
diff --git a/lib/test-client.c b/lib/test-client.c
index 900af41e..b2f20464 100644
--- a/lib/test-client.c
+++ b/lib/test-client.c
@@ -176,7 +176,6 @@ static void create_window(void)
 
        tree = gtk_tree_view_new();
        gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(tree), TRUE);
-       gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(tree), TRUE);
        gtk_widget_grab_focus(GTK_WIDGET(tree));
        gtk_container_add(GTK_CONTAINER(scrolled), tree);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]