updated copyright
[ptask.git] / src / main.c
index 0f66224..95a8054 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2013 jeanfi@gmail.com
+ * Copyright (C) 2012-2016 jeanfi@gmail.com
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License as
@@ -59,7 +59,7 @@ static void print_version()
                 "This is free software: you are free to change and "
                 " redistribute it.\n"
                 "There is NO WARRANTY, to the extent permitted by law.\n"),
-              "2012-2013");
+              "2012-2016");
 }
 
 static void print_help()
@@ -90,7 +90,7 @@ static void print_help()
 void refresh()
 {
        GtkWidget *dialog;
-       const char *current_prj, *current_uuid;
+       const char *current_uuid;
        struct task **old_tasks;
 
        log_fct_enter();
@@ -98,12 +98,10 @@ void refresh()
 
        if (tasks) {
                old_tasks = tasks;
-               current_prj = ui_projecttree_get_project();
                current_uuid = ui_tasktree_get_task_uuid();
                ui_tasktree_update(NULL);
        } else {
                old_tasks = NULL;
-               current_prj = NULL;
                current_uuid = NULL;
        }