[california] Fix build with newer evolution-data-server: bug 743961



commit 4b61966a93e7be65ed35e8a509e2b7538b136c3c
Author: Adam Dingle <adam medovina org>
Date:   Thu Mar 24 12:35:04 2016 -0400

    Fix build with newer evolution-data-server: bug 743961
    
    Thanks to Milan Crha <mcrha redhat com> for this fix.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743961

 configure.ac                                     |    2 +-
 src/backing/eds/backing-eds-calendar-source.vala |    2 +-
 vapi/libecal-1.2.vapi                            |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0e224f3..933ae51 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,7 +27,7 @@ AC_SUBST(LDFLAGS)
 GLIB_REQUIRED=2.38.0
 GTK_REQUIRED=3.12.2
 GEE_REQUIRED=0.10.5
-ECAL_REQUIRED=3.8.5
+ECAL_REQUIRED=3.13.90
 LIBSOUP_REQUIRED=2.44
 GDATA_REQUIRED=0.14.0
 GOA_REQUIRED=3.8.3
diff --git a/src/backing/eds/backing-eds-calendar-source.vala 
b/src/backing/eds/backing-eds-calendar-source.vala
index 7e30e08..da88db4 100644
--- a/src/backing/eds/backing-eds-calendar-source.vala
+++ b/src/backing/eds/backing-eds-calendar-source.vala
@@ -256,7 +256,7 @@ internal class EdsCalendarSource : CalendarSource {
     
     // Invoked by EdsStore prior to making it available outside of unit
     internal async void open_async(Cancellable? cancellable) throws Error {
-        client = (E.CalClient) yield E.CalClient.connect(eds_source, E.CalClientSourceType.EVENTS,
+        client = (E.CalClient) yield E.CalClient.connect(eds_source, E.CalClientSourceType.EVENTS, 1,
             cancellable);
         
         client.bind_property("readonly", this, PROP_READONLY, BindingFlags.SYNC_CREATE);
diff --git a/vapi/libecal-1.2.vapi b/vapi/libecal-1.2.vapi
index 6ead3ec..46fd711 100644
--- a/vapi/libecal-1.2.vapi
+++ b/vapi/libecal-1.2.vapi
@@ -23,7 +23,7 @@ namespace E {
                public bool check_save_schedules ();
                public static bool check_timezones (iCal.icalcomponent comp, GLib.List comps, GLib.Callback 
tzlookup, void* ecalclient, GLib.Cancellable cancellable) throws GLib.Error;
                [CCode (finish_name = "e_cal_client_connect_finish")]
-               public static async unowned E.Client connect (E.Source source, E.CalClientSourceType 
source_type, GLib.Cancellable cancellable) throws GLib.Error;
+               public static async unowned E.Client connect (E.Source source, E.CalClientSourceType 
source_type, uint32 wait_for_connected_seconds, GLib.Cancellable cancellable) throws GLib.Error;
                public static unowned E.Client connect_sync (E.Source source, E.CalClientSourceType 
source_type, GLib.Cancellable cancellable) throws GLib.Error;
                [CCode (finish_name = "e_cal_client_create_object_finish")]
                public async void create_object (iCal.icalcomponent icalcomp, GLib.Cancellable? cancellable, 
out string out_uid) throws GLib.Error;


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