Bug 693841 - EDataCal: Complete implementation of GetObjectsList
authorGiocanni Campagna <scampa.giovanni@gmail.com>
Fri, 15 Feb 2013 02:57:57 +0000 (21:57 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Fri, 15 Feb 2013 02:59:35 +0000 (21:59 -0500)
Clients were left waiting for a response from the backend that would
never happen.

calendar/libedata-cal/e-data-cal.c

index 0bb0672..4e06093 100644 (file)
@@ -1425,7 +1425,16 @@ e_data_cal_respond_get_object_list (EDataCal *cal,
                        objects = g_slist_next (objects);
                }
 
+               e_dbus_calendar_complete_get_object_list (
+                       cal->priv->dbus_interface,
+                       data->invocation,
+                       (const gchar * const *) strv);
+
                g_strfreev (strv);
+       } else {
+               data_cal_convert_to_client_error (error);
+               g_dbus_method_invocation_take_error (
+                       data->invocation, error);
        }
 
        op_unref (data);