Imported Upstream version 0.0.8
[ptask-pkg-ubuntu.git] / src / main.c
index a0cf978..83dfda6 100644 (file)
@@ -16,6 +16,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  * 02110-1301 USA
  */
+#include <locale.h>
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -201,6 +203,7 @@ int main(int argc, char **argv)
        settings_init();
 
        builder = gtk_builder_new();
+       err = NULL;
        ret = gtk_builder_add_from_file
                (builder,
                 PACKAGE_DATA_DIR G_DIR_SEPARATOR_S "ptask.glade",