Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
b9f2ee4b
Commit
b9f2ee4b
authored
Apr 07, 2010
by
Alexandre Savard
Browse files
[#2926] Fix minor compilation warnings
parent
e31ba854
Changes
3
Hide whitespace changes
Inline
Side-by-side
sflphone-client-gnome/src/actions.c
View file @
b9f2ee4b
...
...
@@ -1101,12 +1101,12 @@ void sflphone_fill_codec_list () {
void
sflphone_fill_codec_list_per_account
(
account_t
**
account
)
{
gchar
**
order
;
gchar
**
order
;
gchar
**
details
;
gchar
**
pl
;
gchar
*
accountID
;
GQueue
*
codeclist
;
gboolean
active
=
FALSE
;
gchar
*
accountID
;
GQueue
*
codeclist
;
gboolean
active
=
FALSE
;
order
=
(
gchar
**
)
dbus_get_active_codec_list
((
*
account
)
->
accountID
);
codeclist
=
(
*
account
)
->
codecs
;
...
...
@@ -1118,7 +1118,7 @@ void sflphone_fill_codec_list_per_account (account_t **account) {
{
codec_t
*
cpy
;
// Each account will have a copy of the system-wide capabilities
codec_create_new_from_caps
(
codec_list_get_by_payload
((
gconstpointer
)
atoi
(
*
order
),
NULL
),
&
cpy
);
codec_create_new_from_caps
(
codec_list_get_by_payload
((
gconstpointer
)
(
size_t
)
atoi
(
*
order
),
NULL
),
&
cpy
);
if
(
cpy
)
{
cpy
->
is_active
=
TRUE
;
codec_list_add
(
cpy
,
&
codeclist
);
...
...
@@ -1136,7 +1136,7 @@ void sflphone_fill_codec_list_per_account (account_t **account) {
codec_t
*
current_cap
=
capabilities_get_nth
(
i
);
// Check if this codec has already been enabled for this account
if
(
codec_list_get_by_payload
(
(
gconstpointer
)
current_cap
->
_payload
,
codeclist
)
==
NULL
)
{
if
(
codec_list_get_by_payload
(
(
gconstpointer
)
(
size_t
)(
current_cap
->
_payload
)
,
codeclist
)
==
NULL
)
{
// codec_t *cpy;
// codec_create_new_from_caps (current_cap, &cpy);
current_cap
->
is_active
=
active
;
...
...
sflphone-client-gnome/src/contacts/addressbook.c
View file @
b9f2ee4b
...
...
@@ -32,7 +32,7 @@ void
addressbook_search
(
GtkEntry
*
entry
)
{
gchar
*
query
=
gtk_entry_get_text
(
GTK_ENTRY
(
entry
));
const
gchar
*
query
=
gtk_entry_get_text
(
GTK_ENTRY
(
entry
));
if
(
strlen
(
query
)
>=
3
)
{
AddressBook_Config
*
addressbook_config
;
...
...
sflphone-client-gnome/src/dbus/dbus.c
View file @
b9f2ee4b
...
...
@@ -2605,7 +2605,7 @@ void dbus_enable_status_icon (const gchar *value) {
gchar
*
dbus_is_status_icon_enabled
(
void
)
{
GError
*
error
=
NULL
;
gchar
*
value
=
TRUE
;
gchar
*
value
=
NULL
;
org_sflphone_SFLphone_ConfigurationManager_is_status_icon_enabled
(
configurationManagerProxy
,
&
value
,
&
error
);
...
...
Write
Preview
Supports
Markdown
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