It seems that the Empathy plugin is at fault, or at least behaves
differently to all the other account plugins, as a single plugin
(EmpathyAccountPlugin) is used as the source for every account plugin
provided by Empathy. This can be seen in the Makefile.am (look at the
lib<provider>_la_SOURCES variables):

http://git.gnome.org/browse/empathy/tree/ubuntu-online-accounts/cc-
plugins/Makefile.am

This means that each plugin has the same ap_module_get_object_type()
method, and so the types are registered twice when more than one is used
in a single run of the control center panel, which cannot succeed with
the current plugin loader. Each provider plugin having a different GType
seems like a reasonable assumption, and that it what the plugins in
online-accounts-account-plugins do, for example:

http://bazaar.launchpad.net/~online-accounts/online-accounts-account-
plugins/trunk/view/head:/src/windows-live.vala

** Project changed: online-accounts-gnome-control-center => empathy

** Summary changed:

- Crash trying to reload the same plugin twice
+ UOA provider plugins should each return a different GType

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1035292

Title:
  UOA provider plugins should each return a different GType

To manage notifications about this bug go to:
https://bugs.launchpad.net/empathy/+bug/1035292/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to