File lxtask-0.1.3-code-cleanup.patch of Package lxtask

diff --git a/src/main.c b/src/main.c
--- a/src/main.c
+++ b/src/main.c
@@ -26,6 +26,10 @@
 #include <signal.h>
 #include <unistd.h>
 
+#ifdef ENABLE_NLS
+#include <libintl.h>
+#endif
+
 #include "types.h"
 #include "interface.h"
 #include "functions.h"

diff --git a/src/interface.c b/src/interface.c
--- a/src/interface.c
+++ b/src/interface.c
@@ -41,12 +41,12 @@ GtkWidget *refresh_spin;
 GtkWidget* create_main_window (void)
 {
     GtkWidget *window;
-    GtkWidget *menubar, *menu, *item, *sub;
+    GtkWidget *menubar, *menu, *item;// *sub;
     GtkWidget *vbox1;
     GtkWidget *bbox1;
     GtkWidget *scrolledwindow1;
     GtkWidget *button1;
-    GtkWidget *button2;
+ //   GtkWidget *button2;
     GtkWidget *button3;
 
     GtkWidget *system_info_box;
@@ -299,8 +299,8 @@ GtkWidget *create_prio_submenu(void)
 GtkWidget* create_mainmenu (void)
 {
     GtkWidget *mainmenu;
-    GtkWidget *info1;
-    GtkWidget *trennlinie1;
+//    GtkWidget *info1;
+//    GtkWidget *trennlinie1;
     GtkWidget *preferences1;
     GtkWidget *show_user_tasks1;
     GtkWidget *show_root_tasks1;
diff --git a/src/xfce-taskmanager-linux.c b/src/xfce-taskmanager-linux.c
--- a/src/xfce-taskmanager-linux.c
+++ b/src/xfce-taskmanager-linux.c
@@ -26,6 +26,7 @@
 #include <fcntl.h>
 
 #include <glib/gi18n.h>
+#include <glib/gprintf.h>
 #include "xfce-taskmanager-linux.h"