diff options
author | Wolfgang Ulbrich <[email protected]> | 2015-11-29 19:38:47 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2015-12-01 20:24:36 +0100 |
commit | 95131f1b6b9eb6a8bfa7d5d39c12d6d29fea8f49 (patch) | |
tree | e655f2b09762a89a602b35de18ba4997542dd6ba /src/lsof.cpp | |
parent | e2624dc7ea05cb8a91f71c6ae13495cc51a24567 (diff) | |
download | mate-system-monitor-95131f1b6b9eb6a8bfa7d5d39c12d6d29fea8f49.tar.bz2 mate-system-monitor-95131f1b6b9eb6a8bfa7d5d39c12d6d29fea8f49.tar.xz |
GTK3: Drop use of deprecated treeview API. gtk_tree_view_set_rules_hint
taken from:
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=7fefa84
Diffstat (limited to 'src/lsof.cpp')
-rw-r--r-- | src/lsof.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lsof.cpp b/src/lsof.cpp index aaf2fbd..6854de2 100644 --- a/src/lsof.cpp +++ b/src/lsof.cpp @@ -248,8 +248,9 @@ void procman_lsof(ProcData *procdata) GtkWidget *tree = gtk_tree_view_new_with_model(GTK_TREE_MODEL(model)); g_object_unref(model); +#if !GTK_CHECK_VERSION(3,0,0) gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(tree), TRUE); - +#endif GtkTreeViewColumn *column; GtkCellRenderer *renderer; |