Commit Graph

17 Commits

Author SHA1 Message Date
Gaël Bonithon
2a9a32b3a0 Apply .clang-format file 2024-05-05 17:58:13 +02:00
Gaël Bonithon
95a2d9c5bf Clean up and sort includes 2024-05-05 17:58:13 +02:00
Gaël Bonithon
4209c4ac41 Fix more memory leaks
Found by Valgrind when starting xfce4-taskmanager.
2023-09-10 12:01:40 +02:00
Landry Breuil
993ef78b81 Switch back all bzero() calls to use memset()
Even if it's uglier to use memset, bzero seems deprecated.
2018-06-03 17:56:31 +02:00
Landry Breuil
fcf8beb64e include task-manager.h to have __unused definition, should fix compilation on linux (bug 14401) 2018-06-01 13:05:19 +02:00
rim
7de82ec291 Better zeroing of found struct (bug 14401) 2018-05-30 21:49:22 +02:00
rim
ce69b96ce4 spacing 2018-05-30 21:48:41 +02:00
rim
e8b4fa49bb xtm_process_tree_model_get_value returns void (bug 14401) 2018-05-30 21:47:59 +02:00
rim
1c09b7329b Use the proper types, add casts where necessary (bug 14401) 2018-05-30 21:46:29 +02:00
rim
66a0d4bfc9 Mark unused params, remove unused macro and args (bug 14401) 2018-05-30 21:29:28 +02:00
Peter de Ridder
e3b43c6c4c Take one reference on all the nodes 2014-12-19 10:12:08 +01:00
Peter de Ridder
aa5da32243 Use the correct parent to test for first child 2014-12-16 22:16:50 +01:00
Peter de Ridder
20b1b04a22 Increment the link->path as directly after insert 2014-12-15 21:05:17 +01:00
Landry Breuil
cae969b2df Silence warnings.
- statement with no effect
- index is an indentifier in string.h, dont shadow it
- link is a function in unistd.h dont shadow it
2014-12-11 23:37:38 +01:00
Peter de Ridder
9d3fa97f73 Changed has children toggle signal to support auto expand. 2014-12-11 21:56:58 +01:00
Peter de Ridder
2a81817868 Sort the tree according to the list model. 2014-12-03 23:21:18 +01:00
Peter de Ridder
80feabede2 Added tree model process view.
This model builds a tree model out of a list model.
2014-12-03 23:21:18 +01:00