From 1e679e290fb8270693c0ca275be877c53a6bb452 Mon Sep 17 00:00:00 2001 From: Alastair Poole Date: Mon, 11 Jun 2018 16:43:03 +0100 Subject: [PATCH] Remove unused type. --- src/ui.c | 2 ++ src/ui.h | 8 -------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/ui.c b/src/ui.c index 65d89fa..622bb30 100644 --- a/src/ui.c +++ b/src/ui.c @@ -699,6 +699,8 @@ _process_panel_list_selected_cb(void *data, Evas_Object *obj, void *event_info E ui->selected_pid = atoi(text); + ui->pid_cpu_time = 0; + _process_panel_update(ui); ui->timer_pid = ecore_timer_add(ui->poll_delay, _process_panel_update, ui); diff --git a/src/ui.h b/src/ui.h index c9d9f94..02fe95e 100644 --- a/src/ui.h +++ b/src/ui.h @@ -117,14 +117,6 @@ typedef struct Ui } Ui; -typedef struct Sys_Stats -{ - int cpu_count; - double cpu_usage; - long mem_total; - long mem_used; -} Sys_Stats; - void ui_add(Evas_Object *win);