Commit 7fefa846 authored by Robert Roth's avatar Robert Roth

Drop use of deprecated treeview API

parent fbf3db9f
......@@ -396,7 +396,6 @@ create_disk_view(GsmApplication *app, GtkBuilder *builder)
g_signal_connect(G_OBJECT(disk_tree), "row-activated", G_CALLBACK(open_dir), NULL);
app->disk_list = disk_tree;
gtk_container_add(GTK_CONTAINER(scrolled), disk_tree);
gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(disk_tree), TRUE);
g_object_unref(G_OBJECT(model));
/* icon + device */
......
......@@ -223,8 +223,6 @@ void procman_lsof(GsmApplication *app)
GtkWidget *tree = gtk_tree_view_new_with_model(GTK_TREE_MODEL(model));
g_object_unref(model);
gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(tree), TRUE);
GtkTreeViewColumn *column;
GtkCellRenderer *renderer;
......
......@@ -345,7 +345,6 @@ create_memmapsdata (GsmApplication *app)
tree = gsm_tree_view_new (settings, FALSE);
gtk_tree_view_set_model (GTK_TREE_VIEW (tree), GTK_TREE_MODEL (model));
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (tree), TRUE);
g_object_unref (G_OBJECT (model));
gchar *font = get_monospace_system_font_name ();
......
......@@ -264,7 +264,6 @@ create_openfiles_tree (GsmApplication *app)
tree = gsm_tree_view_new (settings, FALSE);
gtk_tree_view_set_model (GTK_TREE_VIEW (tree), GTK_TREE_MODEL (model));
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (tree), TRUE);
g_object_unref (G_OBJECT (model));
for (i = 0; i < NUM_OPENFILES_COL-1; i++) {
......
......@@ -162,7 +162,6 @@ create_procproperties_tree (GsmApplication *app, ProcInfo *info)
);
tree = gtk_tree_view_new_with_model (GTK_TREE_MODEL (model));
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (tree), TRUE);
g_object_unref (G_OBJECT (model));
for (i = 0; i < NUM_COLS; i++) {
......
......@@ -393,7 +393,6 @@ proctable_new (GsmApplication * const app)
gtk_tree_view_set_show_expanders (GTK_TREE_VIEW (proctree),
g_settings_get_boolean (app->settings, GSM_SETTING_SHOW_DEPENDENCIES));
gtk_tree_view_set_enable_search (GTK_TREE_VIEW (proctree), FALSE);
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (proctree), TRUE);
g_object_unref (G_OBJECT (model));
column = gtk_tree_view_column_new ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment