X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fui.c;fp=src%2Fui.c;h=eda9eccade7d41b6dbfbe4cf7985ea0700e8e9bb;hb=c69aadceb8d1afc9ea16c2e8be2ae6aebc1f10ae;hp=83e987612ed207f2e012b2d89c65427fd6cd7943;hpb=6029a29d16270d6689ed164a0c5265406980e1be;p=ptask.git diff --git a/src/ui.c b/src/ui.c index 83e9876..eda9ecc 100644 --- a/src/ui.c +++ b/src/ui.c @@ -19,9 +19,18 @@ #include #include +#include static GtkTreeView *w_treeview; +int newtask_clicked_cbk(GtkButton *btn, gpointer data) +{ + ui_newtask(); + + return FALSE; +} + + static void save_settings(GtkWindow *window, GSettings *settings) { int w, h, x, y, sort_col_id;