mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-21 13:08:08 +00:00
Fix bug on Windows. The status icon did not disappear after Linphone quit
This commit is contained in:
parent
1f02b4eaae
commit
fe3799cb1b
1 changed files with 5 additions and 4 deletions
|
|
@ -304,9 +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) {
|
||||
// g_object_unref((GtkStatusIcon *)si->data);
|
||||
// }
|
||||
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);
|
||||
|
|
@ -358,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,
|
||||
NULL,
|
||||
_linphone_status_icon_impl_gtk_uninit,
|
||||
_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