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 731981 - libebook: Don’t warn on calling unimplemented methods
libebook: Don’t warn on calling unimplemented methods
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Contacts
3.13.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2014-06-20 18:11 UTC by Philip Withnall
Modified: 2014-06-20 19:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
libebook: Don’t warn on calling unimplemented methods (1.51 KB, patch)
2014-06-20 18:11 UTC, Philip Withnall
committed Details | Review
libecal: Don’t warn on calling unimplemented methods (1.37 KB, patch)
2014-06-20 19:41 UTC, Philip Withnall
committed Details | Review

Description Philip Withnall 2014-06-20 18:11:25 UTC
Patch coming.
Comment 1 Philip Withnall 2014-06-20 18:11:49 UTC
Created attachment 278858 [details] [review]
libebook: Don’t warn on calling unimplemented methods

If a warning is needed, it should be in the method itself. Otherwise we
can be outputting spurious warnings for methods which don’t need
implementing.

This fixes the libfolks EDS tests.
Comment 2 Matthew Barnes 2014-06-20 19:31:45 UTC
Looks okay to me.  Can you also make an equivalent change to ECalClientView, since we still don't have a common base class?
Comment 3 Philip Withnall 2014-06-20 19:41:33 UTC
Created attachment 278865 [details] [review]
libecal: Don’t warn on calling unimplemented methods

See commit d1f237c2e455dda7c91ca79a6f643ef1a613bb61 for rationale.
Comment 4 Philip Withnall 2014-06-20 19:42:59 UTC
commit 79d3746656bf07fedfc4ec092e24ce3fb70bf651
Author: Philip Withnall <philip.withnall@collabora.co.uk>
Date:   Fri Jun 20 20:40:55 2014 +0100

    libecal: Don’t warn on calling unimplemented methods
    
    See commit d1f237c2e455dda7c91ca79a6f643ef1a613bb61 for rationale.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=731981

 calendar/libecal/e-cal-client-view.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit d1f237c2e455dda7c91ca79a6f643ef1a613bb61
Author: Philip Withnall <philip.withnall@collabora.co.uk>
Date:   Fri Jun 20 19:09:45 2014 +0100

    libebook: Don’t warn on calling unimplemented methods
    
    If a warning is needed, it should be in the method itself. Otherwise we
    can be outputting spurious warnings for methods which don’t need
    implementing.
    
    This fixes the libfolks EDS tests.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=731981

 addressbook/libebook/e-book-client-view.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)