xfce4-systemload-plugin: upgrade 1.3.2 -> 1.4.0

refresh patch.

Changelog: https://gitlab.xfce.org/panel-plugins/xfce4-systemload-plugin/-/tags/xfce4-systemload-plugin-1.4.0
Changelog: https://gitlab.xfce.org/panel-plugins/xfce4-systemload-plugin/-/tags/xfce4-systemload-plugin-1.3.3

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Jason Schonberg
2025-10-06 11:51:41 -04:00
committed by Khem Raj
parent 0f0c413ed0
commit 8ebc80c7ce
2 changed files with 6 additions and 4 deletions
@@ -14,15 +14,15 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- a/panel-plugin/network.cc
+++ b/panel-plugin/network.cc
@@ -114,6 +114,7 @@ read_netload_proc (gulong *bytes)
@@ -118,6 +118,7 @@ read_netload_proc (gulong *bytes)
gint
read_netload (gulong *net, gulong *NTotal)
{
+ gulong tbytes[2];
static guint64 bytes[2];
static gulong bytes[2];
static gint64 time[2];
@@ -122,10 +123,12 @@ read_netload (gulong *net, gulong *NTota
@@ -123,10 +124,12 @@ read_netload (gulong *net, gulong *NTota
time[1] = g_get_monotonic_time ();