Commit fe3799cb authored by François Grisez's avatar François Grisez
Browse files

Fix bug on Windows. The status icon did not disappear after Linphone quit

parent 1f02b4ea
...@@ -304,9 +304,10 @@ static void _linphone_status_icon_impl_gtk_init(LinphoneStatusIcon *si) { ...@@ -304,9 +304,10 @@ static void _linphone_status_icon_impl_gtk_init(LinphoneStatusIcon *si) {
si->data = icon; si->data = icon;
} }
// static void _linphone_status_icon_impl_gtk_uninit(LinphoneStatusIcon *si) { static void _linphone_status_icon_impl_gtk_uninit(LinphoneStatusIcon *si) {
// g_object_unref((GtkStatusIcon *)si->data); GtkStatusIcon *icon = GTK_STATUS_ICON(si->data);
// } gtk_status_icon_set_visible(icon, FALSE);
}
static void _linphone_status_icon_impl_gtk_start(LinphoneStatusIcon *si) { static void _linphone_status_icon_impl_gtk_start(LinphoneStatusIcon *si) {
GtkStatusIcon *icon = GTK_STATUS_ICON(si->data); GtkStatusIcon *icon = GTK_STATUS_ICON(si->data);
...@@ -358,7 +359,7 @@ static gboolean _linphone_status_icon_impl_is_supported( ...@@ -358,7 +359,7 @@ static gboolean _linphone_status_icon_impl_is_supported(
static const _LinphoneStatusIconDesc _linphone_status_icon_impl_gtk_desc = { static const _LinphoneStatusIconDesc _linphone_status_icon_impl_gtk_desc = {
"gtk_status_icon", "gtk_status_icon",
_linphone_status_icon_impl_gtk_init, _linphone_status_icon_impl_gtk_init,
NULL, _linphone_status_icon_impl_gtk_uninit,
_linphone_status_icon_impl_gtk_start, _linphone_status_icon_impl_gtk_start,
_linphone_status_icon_impl_enable_blinking, _linphone_status_icon_impl_enable_blinking,
_linphone_status_icon_impl_is_supported _linphone_status_icon_impl_is_supported
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment