After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 323373 - Should be able to get parent EBook from an EBookView
Should be able to get parent EBook from an EBookView
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Contacts
1.6.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2005-12-06 14:32 UTC by Ross Burton
Modified: 2013-09-14 16:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Draft patch (1.94 KB, patch)
2005-12-06 16:33 UTC, Ross Burton
accepted-commit_now Details | Review

Description Ross Burton 2005-12-06 14:32:25 UTC
It would be really useful if it were possible to get the EBook that an EBookView
is for, to avoid having to pass it around everywhere instead.
Comment 1 Ross Burton 2005-12-06 16:33:37 UTC
Created attachment 55692 [details] [review]
Draft patch

This compiles and should work, but the reference counting loops might need
checking.  Basically it adds e_book_view_get_book().
Comment 2 Sushma Rai 2006-01-06 05:21:30 UTC
Patch looks good.
Needs to be tested before committing. 
Devashis?
Comment 3 Devashish Sharma 2006-01-09 06:59:24 UTC
Checked the patch looks Ok to commit.
Cant be tested as such because this is a new function so it isnt used anywhere.
But should work fine.
Comment 4 Ross Burton 2006-01-09 09:45:33 UTC
Committed to HEAD.