Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
96e4b946
Commit
96e4b946
authored
May 20, 2015
by
François Grisez
Browse files
Fix double free while linphone quits
parent
cbccbafd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
gtk/status_icon.c
gtk/status_icon.c
+5
-5
No files found.
gtk/status_icon.c
View file @
96e4b946
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment