[gnome-system-monitor] Drop use of deprecated treeview API
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-monitor] Drop use of deprecated treeview API
- Date: Wed, 20 Aug 2014 04:18:12 +0000 (UTC)
commit 7fefa846a9818a09bb3c71aef303aaf21038fbd2
Author: Robert Roth <robert roth off gmail com>
Date: Wed Aug 20 06:41:51 2014 +0300
Drop use of deprecated treeview API
src/disks.cpp | 1 -
src/lsof.cpp | 2 --
src/memmaps.cpp | 1 -
src/openfiles.cpp | 1 -
src/procproperties.cpp | 1 -
src/proctable.cpp | 1 -
6 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/disks.cpp b/src/disks.cpp
index 59a475a..3f3a99d 100644
--- a/src/disks.cpp
+++ b/src/disks.cpp
@@ -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 */
diff --git a/src/lsof.cpp b/src/lsof.cpp
index d36d74f..f3f5f8f 100644
--- a/src/lsof.cpp
+++ b/src/lsof.cpp
@@ -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;
diff --git a/src/memmaps.cpp b/src/memmaps.cpp
index e477c2e..a25e147 100644
--- a/src/memmaps.cpp
+++ b/src/memmaps.cpp
@@ -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 ();
diff --git a/src/openfiles.cpp b/src/openfiles.cpp
index 66d2e98..f8f64ee 100644
--- a/src/openfiles.cpp
+++ b/src/openfiles.cpp
@@ -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++) {
diff --git a/src/procproperties.cpp b/src/procproperties.cpp
index 15f8fe1..5f68d52 100644
--- a/src/procproperties.cpp
+++ b/src/procproperties.cpp
@@ -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++) {
diff --git a/src/proctable.cpp b/src/proctable.cpp
index 7f97cd3..137eedc 100644
--- a/src/proctable.cpp
+++ b/src/proctable.cpp
@@ -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 ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]