GNOME Bugzilla – Bug 685616
user-accounts: Remove the realmd version check
Last modified: 2012-10-15 09:43:08 UTC
No need to do the version check anymore.
Created attachment 225939 [details] [review] user-accounts: Remove the realmd version check The idea is that the realmd DBus API will remain stable from now on, so remove the version check. It was broken anyway.
Created attachment 225941 [details] [review] user-accounts: Remove the realmd version check The idea is that the realmd DBus API will remain stable from now on, so remove the version check. It was broken anyway.
Review of attachment 225941 [details] [review]: Looks good to me.
Review of attachment 225941 [details] [review]: You need to switch to an async call now that you don't need to check the version straight away. ::: panels/user-accounts/um-realm-manager.c @@ -235,3 @@ - /* - * TODO: Remove this version checking. This is temporary code, so - * just use sync here. Shortly we'll be stabilizing the realmd You don't need to be sync here anymore though.
(In reply to comment #4) > Review of attachment 225941 [details] [review]: > > You need to switch to an async call now that you don't need to check the > version straight away. > > ::: panels/user-accounts/um-realm-manager.c > @@ -235,3 @@ > - /* > - * TODO: Remove this version checking. This is temporary code, so > - * just use sync here. Shortly we'll be stabilizing the realmd > > You don't need to be sync here anymore though. AFAIK, by using G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES um_realm_provider_proxy_new_sync() will not block.
(In reply to comment #5) > AFAIK, by using G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES > um_realm_provider_proxy_new_sync() will not block. This is only true if the proxy is for a unique name (e.g. ":1.42") and not a well-known name (e.g. "net.company.Foo"). So in your case (by looking at the patch), it's not true....
Created attachment 226387 [details] [review] user-accounts: Remove the realmd version check Now instantiating the provider asynchronously.
Review of attachment 226387 [details] [review]: Looks fine to me.
Attachment 226387 [details] pushed as 60e9ee0 - user-accounts: Remove the realmd version check