~didrocks/indicator-appmenu/jayatana

Viewing all changes in revision 249.

  • Committer: Tarmac
  • Author(s): Lars Uebernickel
  • Date: 2013-10-28 19:23:15 UTC
  • mfrom: (246.3.1 trunk)
  • Revision ID: tarmac-20131028192315-dokoozfa5jjhby55
window-menu-model: disconnect entry signal handlers by func instead of id

entry_object_free disconnected signal handlers by id. This throws warnings when entry_object_free is called when disposing an object, because signals are already disconnected at that point.

This patch uses g_signal_handlers_disconnect_by_func(), which works both when the entry is alive and being disposed.

Approved by Charles Kerr, PS Jenkins bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: