diff options
author | nirav <nirav@teisuu.com> | 2019-03-26 07:54:56 +0530 |
---|---|---|
committer | Dandelion <nirav@teisuu.com> | 2019-03-26 07:54:56 +0530 |
commit | cc727e972f7fdc871ee1f42cf014151b67422bf0 (patch) | |
tree | eda5279bf96e4999e4219beb331df4646cfd2a5b /src/main.c | |
parent | 4b27c1a348d8de036dabd5525452f5b9ad08a32b (diff) | |
download | ap_client-cc727e972f7fdc871ee1f42cf014151b67422bf0.tar.gz ap_client-cc727e972f7fdc871ee1f42cf014151b67422bf0.zip |
Update login flow and timeline window
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -4,13 +4,9 @@ #include <stdlib.h> #include <stdbool.h> #include <gtk-3.0/gtk/gtk.h> -#include "auth.h" #include "http.h" -#include "timeline.h" -#include "login_window.h" #include "config.h" -#include "timeline_window.h" -#include "log.h" +#include "main_window.h" static void startup(GtkApplication *app, gpointer user_data) { @@ -22,11 +18,7 @@ static void startup(GtkApplication *app, gpointer user_data) static void activate(GtkApplication *app, gpointer user_data) { - if (read_local_credentials()) { - create_login_window(app, user_data); - return; - } - create_timeline_window(app, NULL); + create_main_window(app, NULL); } int main(int argc, char **argv) |