[PATCH 0/2] Make the bookmarking code more robust.



Currently, man pages don't have a non-null page_id. I'm not entirely
sure what the correct way to split that up is, but I'm pretty certain
that the bookmarking code shouldn't segfault :-)

So these two patches improve its robustness. The first actually
finishes porting the stuff in yelp-application.c and yelp-window.c to
implement/use the bookmarks interface in libyelp (if I've understood
it correctly).

Rupert Swarbrick (2):
  Port yelp-application.c to the bookmarks interface properly.
  Fail more gracefully in bookmark functions if we get passed a null.

 src/yelp-application.c |   24 ++++++++++++++++++------
 src/yelp-application.h |    7 ++++---
 src/yelp-window.c      |   16 +++++++++++-----
 3 files changed, 33 insertions(+), 14 deletions(-)

-- 
1.7.2.3



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]