summaryrefslogtreecommitdiff
path: root/src/procman.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/procman.h')
-rw-r--r--src/procman.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/procman.h b/src/procman.h
index 55fea88..46c93a9 100644
--- a/src/procman.h
+++ b/src/procman.h
@@ -96,6 +96,15 @@ struct ProcConfig
int disks_update_interval;
gint whose_process;
gint current_tab;
+#if GTK_CHECK_VERSION(3,0,0)
+ GdkRGBA cpu_color[GLIBTOP_NCPU];
+ GdkRGBA mem_color;
+ GdkRGBA swap_color;
+ GdkRGBA net_in_color;
+ GdkRGBA net_out_color;
+ GdkRGBA bg_color;
+ GdkRGBA frame_color;
+#else
GdkColor cpu_color[GLIBTOP_NCPU];
GdkColor mem_color;
GdkColor swap_color;
@@ -103,6 +112,7 @@ struct ProcConfig
GdkColor net_out_color;
GdkColor bg_color;
GdkColor frame_color;
+#endif
gint num_cpus;
bool solaris_mode;
bool network_in_bits;