diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-23 13:36:56 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-23 13:36:56 +0200 |
commit | e509af0fc8eee4b03766ec5c1f4faf6dae7f41b4 (patch) | |
tree | e838fb1b243f9ed544c62d5f16fccc235c176507 /src/app.c | |
parent | fe46ad8a6af32a52889719a838ad7178605c1d3d (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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 | ||
436 | static void deinit_App(iApp *d) { | 438 | static 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); |