diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-12-14 19:03:23 +0100 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2012-12-14 19:03:23 +0100 |
commit | 871848b6e856244b3396999cf07e24d2397142e5 (patch) | |
tree | 359a89328dfeb2b3ce23eea43d09b937ccd90ac1 /test/test-gactionmuxer.cpp | |
parent | f609a2715e083f6e3ff3f9b210ad3090a78f43aa (diff) | |
download | ayatana-indicator-messages-871848b6e856244b3396999cf07e24d2397142e5.tar.gz ayatana-indicator-messages-871848b6e856244b3396999cf07e24d2397142e5.tar.bz2 ayatana-indicator-messages-871848b6e856244b3396999cf07e24d2397142e5.zip |
Make messaging_menu_app_remove_message() work for messages with a ref count of 1
This can happen if noone outside of MessagingMenuApp holds a reference to the
message and somebody calls remove_message() with a pointer they got from
_get_message() (which doesn't return a ref).
messaging_menu_app_remove_message_by_id() really wants a valid 'id' pointer
during its lifetime.
Diffstat (limited to 'test/test-gactionmuxer.cpp')
0 files changed, 0 insertions, 0 deletions