X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fmain.c;h=95a80545676a9a8d12d10e095af47cee486107df;hb=64d52e239f715717646357783d01ff8650dbdb2d;hp=0f66224c0f2308ab12d26411b4091c0cade85e9e;hpb=1d479bf18659d6dcb4fefed032088bf4c56d24de;p=ptask.git diff --git a/src/main.c b/src/main.c index 0f66224..95a8054 100644 --- a/src/main.c +++ b/src/main.c @@ -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; }