~mitya57/indicator-applet/ftbfs-allow-deprecations

Viewing all changes in revision 418.1.1.

  • Committer: Alistair Buxton
  • Date: 2013-08-31 23:53:29 UTC
  • mto: This revision was merged to the branch mainline in revision 419.
  • Revision ID: a.j.buxton@gmail.com-20130831235329-ecf7txrfbk7ttz5s
Fix the loaded plugin count.

The addition of support for indicator-ng means that there now are two
ways to load plugins. The main function which loads all functions uses
call-by-reference to get the number of plugins loaded, but the two
functions which do the work overwrite the variable only the plugins
from the second function are counted. Fix this by making the worker
functions add to the variable instead of assigning to it.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: