Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
35c9894b
Commit
35c9894b
authored
15 years ago
by
Emmanuel Milou
Browse files
Options
Downloads
Patches
Plain Diff
[#2284] Remove address book warnings
parent
d73e1b4a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sflphone-client-gnome/src/config/addressbook-config.c
+6
-6
6 additions, 6 deletions
sflphone-client-gnome/src/config/addressbook-config.c
sflphone-client-gnome/src/config/addressbook-config.h
+8
-6
8 additions, 6 deletions
sflphone-client-gnome/src/config/addressbook-config.h
with
14 additions
and
12 deletions
sflphone-client-gnome/src/config/addressbook-config.c
+
6
−
6
View file @
35c9894b
...
...
@@ -56,17 +56,17 @@ addressbook_config_load_parameters(AddressBook_Config **settings)
}
else
{
_settings
->
enable
=
(
g
u
int
)
(
g_hash_table_lookup
(
_params
,
_settings
->
enable
=
(
gint
64
)
(
g_hash_table_lookup
(
_params
,
ADDRESSBOOK_ENABLE
));
_settings
->
max_results
=
(
g
u
int
)
(
g_hash_table_lookup
(
_params
,
_settings
->
max_results
=
(
gint
64
)
(
g_hash_table_lookup
(
_params
,
ADDRESSBOOK_MAX_RESULTS
));
_settings
->
display_contact_photo
=
(
g
u
int
)
(
g_hash_table_lookup
(
_params
,
_settings
->
display_contact_photo
=
(
gint
64
)
(
g_hash_table_lookup
(
_params
,
ADDRESSBOOK_DISPLAY_CONTACT_PHOTO
));
_settings
->
search_phone_business
=
(
g
u
int
)
(
g_hash_table_lookup
(
_params
,
_settings
->
search_phone_business
=
(
gint
64
)
(
g_hash_table_lookup
(
_params
,
ADDRESSBOOK_DISPLAY_PHONE_BUSINESS
));
_settings
->
search_phone_home
=
(
g
u
int
)
(
g_hash_table_lookup
(
_params
,
_settings
->
search_phone_home
=
(
gint
64
)
(
g_hash_table_lookup
(
_params
,
ADDRESSBOOK_DISPLAY_PHONE_HOME
));
_settings
->
search_phone_mobile
=
(
g
u
int
)
(
g_hash_table_lookup
(
_params
,
_settings
->
search_phone_mobile
=
(
gint
64
)
(
g_hash_table_lookup
(
_params
,
ADDRESSBOOK_DISPLAY_PHONE_MOBILE
));
}
...
...
This diff is collapsed.
Click to expand it.
sflphone-client-gnome/src/config/addressbook-config.h
+
8
−
6
View file @
35c9894b
...
...
@@ -37,12 +37,14 @@ G_BEGIN_DECLS
typedef
struct
_AddressBook_Config
{
guint
enable
;
guint
max_results
;
guint
display_contact_photo
;
guint
search_phone_home
;
guint
search_phone_business
;
guint
search_phone_mobile
;
// gint64: a signed integer guaranteed to be 64 bits on all platforms
// To print or scan values of this type, use G_GINT64_MODIFIER and/or G_GINT64_FORMAT
gint64
enable
;
gint64
max_results
;
gint64
display_contact_photo
;
gint64
search_phone_home
;
gint64
search_phone_business
;
gint64
search_phone_mobile
;
}
AddressBook_Config
;
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment