~azzar1/unity/lp-1154364

Viewing all changes in revision 4059.

  • Committer: CI Train Bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2015-12-18 00:00:46 UTC
  • mfrom: (4036.10.1 key-grabber-ref-counting)
  • Revision ID: ci-train-bot@canonical.com-20151218000046-ofvl0l9d8yd7gib4
GnomeKeyGrabber: refcount the actions and remove them only when nobody needs

There might be multiple customers for an action (i.e. a menu entry and a dbus customer)
so we can't remove them in this case without ref-counting. Fixes: #1525308
Approved by: PS Jenkins bot, Andrea Azzarone

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: