mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-26 15:48:09 +00:00
Fix double free while linphone quits
This commit is contained in:
parent
8c5a217c1d
commit
a83b41c293
1 changed files with 5 additions and 5 deletions
|
|
@ -304,10 +304,10 @@ static void _linphone_status_icon_impl_gtk_init(LinphoneStatusIcon *si) {
|
|||
si->data = icon;
|
||||
}
|
||||
|
||||
static void _linphone_status_icon_impl_gtk_uninit(LinphoneStatusIcon *si) {
|
||||
GtkStatusIcon *icon = GTK_STATUS_ICON(si->data);
|
||||
gtk_status_icon_set_visible(icon, FALSE);
|
||||
}
|
||||
// static void _linphone_status_icon_impl_gtk_uninit(LinphoneStatusIcon *si) {
|
||||
// GtkStatusIcon *icon = GTK_STATUS_ICON(si->data);
|
||||
// gtk_status_icon_set_visible(icon, FALSE);
|
||||
// }
|
||||
|
||||
static void _linphone_status_icon_impl_gtk_start(LinphoneStatusIcon *si) {
|
||||
GtkStatusIcon *icon = GTK_STATUS_ICON(si->data);
|
||||
|
|
@ -359,7 +359,7 @@ static gboolean _linphone_status_icon_impl_is_supported(
|
|||
static const _LinphoneStatusIconDesc _linphone_status_icon_impl_gtk_desc = {
|
||||
"gtk_status_icon",
|
||||
_linphone_status_icon_impl_gtk_init,
|
||||
_linphone_status_icon_impl_gtk_uninit,
|
||||
NULL,
|
||||
_linphone_status_icon_impl_gtk_start,
|
||||
_linphone_status_icon_impl_enable_blinking,
|
||||
_linphone_status_icon_impl_is_supported
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue