summaryrefslogtreecommitdiff
path: root/deskutils/gdesklets/files/patch-libdesklets-system-gtop.c
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/gdesklets/files/patch-libdesklets-system-gtop.c')
-rw-r--r--deskutils/gdesklets/files/patch-libdesklets-system-gtop.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/deskutils/gdesklets/files/patch-libdesklets-system-gtop.c b/deskutils/gdesklets/files/patch-libdesklets-system-gtop.c
index 596198212d3a..4ae58eb875ec 100644
--- a/deskutils/gdesklets/files/patch-libdesklets-system-gtop.c
+++ b/deskutils/gdesklets/files/patch-libdesklets-system-gtop.c
@@ -9,3 +9,13 @@
typedef struct
{
+@@ -1275,8 +1277,8 @@
+ tuple = PyTuple_New(len);
+
+ for(i = 0; i < len; ++i) {
+- p = &glibtop_sys_siglist[i];
+ PyObject* d;
++ p = &glibtop_sys_siglist[i];
+
+ d = PyDict_New();
+ my_dict_add_and_decref(d, "number", PyI_L(p->number));