We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As the title says evolution data server had an API change in connect_sync.
Here is a simple hackish bzr diff that fixes it.
=== modified file 'core/Model/CalendarModel.vala' --- core/Model/CalendarModel.vala 2015-01-16 23:38:19 +0000 +++ core/Model/CalendarModel.vala 2015-04-13 09:11:12 +0000 @@ -362,7 +362,7 @@ try { var cancellable = new GLib.Cancellable (); connecting (source, cancellable); - var client = new E.CalClient.connect_sync (source, E.CalClientSourceType.EVENTS, cancellable); + var client = new E.CalClient.connect_sync (source, E.CalClientSourceType.EVENTS, 30, cancellable); source_client.insert (source.dup_uid (), client); } catch (Error e) { error_received (e.message); === modified file 'vapi/libecalendar-1.2.vapi' --- vapi/libecalendar-1.2.vapi 2014-12-31 16:11:57 +0000 +++ vapi/libecalendar-1.2.vapi 2015-04-13 09:13:20 +0000 @@ -24,7 +24,7 @@ public CalClient (E.Source source, E.CalClientSourceType source_type) throws GLib.Error; public virtual async void connect (E.Source source, E.CalClientSourceType source_type, GLib.Cancellable? cancellable) throws GLib.Error; [CCode (has_construct_function = false, cname = "e_cal_client_connect_sync")] - public CalClient.connect_sync (E.Source source, E.CalClientSourceType source_type, GLib.Cancellable? cancellable = null) throws GLib.Error; + public CalClient.connect_sync (E.Source source, E.CalClientSourceType source_type, int32 wait_for_connected_seconds, GLib.Cancellable? cancellable = null) throws GLib.Error; public async bool add_timezone (iCal.TimeZone zone, GLib.Cancellable cancellable) throws GLib.Error; public bool add_timezone_sync (iCal.TimeZone zone, GLib.Cancellable cancellable) throws GLib.Error; public bool check_one_alarm_only ();
The text was updated successfully, but these errors were encountered:
Thx for the patch, added it to the tarball. You should probably submit it upstream as well.
Sorry, something went wrong.
No branches or pull requests
As the title says evolution data server had an API change in connect_sync.
Here is a simple hackish bzr diff that fixes it.
The text was updated successfully, but these errors were encountered: