summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-11-23 13:36:56 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-11-23 13:36:56 +0200
commite509af0fc8eee4b03766ec5c1f4faf6dae7f41b4 (patch)
treee838fb1b243f9ed544c62d5f16fccc235c176507 /src/app.c
parentfe46ad8a6af32a52889719a838ad7178605c1d3d (diff)
Added Feeds
Feeds fetches bookmarks with the "subscribed" tag and looks for feed-formatted links. The found links are added to the database of feed entries.
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app.c b/src/app.c
index 2e1d7be8..8db863c6 100644
--- a/src/app.c
+++ b/src/app.c
@@ -24,6 +24,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
24#include "bookmarks.h" 24#include "bookmarks.h"
25#include "defs.h" 25#include "defs.h"
26#include "embedded.h" 26#include "embedded.h"
27#include "feeds.h"
27#include "gmcerts.h" 28#include "gmcerts.h"
28#include "gmdocument.h" 29#include "gmdocument.h"
29#include "gmutil.h" 30#include "gmutil.h"
@@ -402,6 +403,7 @@ static void init_App_(iApp *d, int argc, char **argv) {
402 } 403 }
403#endif 404#endif
404 d->window = new_Window(d->initialWindowRect); 405 d->window = new_Window(d->initialWindowRect);
406 init_Feeds(dataDir_App_);
405 /* Widget state init. */ 407 /* Widget state init. */
406 processEvents_App(postedEventsOnly_AppEventMode); 408 processEvents_App(postedEventsOnly_AppEventMode);
407 if (!loadState_App_(d)) { 409 if (!loadState_App_(d)) {
@@ -435,6 +437,7 @@ static void init_App_(iApp *d, int argc, char **argv) {
435 437
436static void deinit_App(iApp *d) { 438static void deinit_App(iApp *d) {
437 saveState_App_(d); 439 saveState_App_(d);
440 deinit_Feeds();
438 save_Keys(dataDir_App_); 441 save_Keys(dataDir_App_);
439 deinit_Keys(); 442 deinit_Keys();
440 savePrefs_App_(d); 443 savePrefs_App_(d);