X-Git-Url: http://git.wpitchoune.net/gitweb/?p=ptask.git;a=blobdiff_plain;f=src%2Fmain.c;fp=src%2Fmain.c;h=fe98488546c1ad645bd65ae208ae3ab2d92260a9;hp=0f66224c0f2308ab12d26411b4091c0cade85e9e;hb=2b8b4aade46749143abd4433b52305bde0abc06e;hpb=6bc49f33de2291c045e64d6c60c661d714ca481b diff --git a/src/main.c b/src/main.c index 0f66224..fe98488 100644 --- a/src/main.c +++ b/src/main.c @@ -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; }