summaryrefslogtreecommitdiff
path: root/src/callbacks.cpp
diff options
context:
space:
mode:
authorplonibarploni <[email protected]>2020-04-06 19:16:21 -0400
committerraveit65 <[email protected]>2020-04-25 20:33:43 +0200
commit63bcff6012ad87ef0f5bdacda6b5d240f16e2bb4 (patch)
treee9035f393fb6228f4b7ac0641b77947c7129cc9a /src/callbacks.cpp
parent92d666e02ac668b0ff78136b19d34533d1846113 (diff)
downloadmate-system-monitor-63bcff6012ad87ef0f5bdacda6b5d240f16e2bb4.tar.bz2
mate-system-monitor-63bcff6012ad87ef0f5bdacda6b5d240f16e2bb4.tar.xz
Added support for actions on multiple processes
ported from gnome-system-monitor: https://github.com/GNOME/gnome-system-monitor/commit/5cf1225d86929114d6f0424112fd2abc8880dc26
Diffstat (limited to 'src/callbacks.cpp')
-rw-r--r--src/callbacks.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/callbacks.cpp b/src/callbacks.cpp
index 8306fd1..3afff0a 100644
--- a/src/callbacks.cpp
+++ b/src/callbacks.cpp
@@ -346,16 +346,6 @@ cb_net_out_color_changed (GSMColorButton *cp, gpointer data)
change_settings_color(procdata->settings, "net-out-color", cp);
}
-static void
-get_last_selected (GtkTreeModel *model, GtkTreePath *path,
- GtkTreeIter *iter, gpointer data)
-{
- ProcInfo **info = static_cast<ProcInfo**>(data);
-
- gtk_tree_model_get (model, iter, COL_POINTER, info, -1);
-}
-
-
void
cb_row_selected (GtkTreeSelection *selection, gpointer data)
{