When compiling xfce4-taskmanager, I get the following compiler warnings: xfce-taskmanager-linux.h:42: warning: ‘pagesize’ defined but not used xfce-taskmanager-linux.h:42: warning: ‘pagesize’ defined but not used xfce-taskmanager-linux.h:42: warning: ‘pagesize’ defined but not used functions.c: In function ‘save_config’: functions.c:232: warning: pointer targets in passing argument 2 of ‘gtk_tree_sortable_get_sort_column_id’ differ in signedness functions.c: At top level: xfce-taskmanager-linux.h:42: warning: ‘pagesize’ defined but not used xfce-taskmanager-linux.h:42: warning: ‘pagesize’ defined but not used xfce-taskmanager-linux.c: In function ‘set_priority_to_task’: xfce-taskmanager-linux.c:316: warning: implicit declaration of function ‘g_sprintf’ And it replaces sprintf() and g_sprintf() calls with g_snprintf() which should be generally better. Attached patch should fix them.
Created attachment 1654 Fix compiler warnings