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
02d1e694
Commit
02d1e694
authored
13 years ago
by
Rafaël Carré
Browse files
Options
Downloads
Patches
Plain Diff
* #5695 : addressbook : remove unused stuff in the client
parent
ced9d1e5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gnome/src/contacts/addressbook.h
+0
-41
0 additions, 41 deletions
gnome/src/contacts/addressbook.h
gnome/src/contacts/calllist.c
+1
-1
1 addition, 1 deletion
gnome/src/contacts/calllist.c
with
1 addition
and
42 deletions
gnome/src/contacts/addressbook.h
+
0
−
41
View file @
02d1e694
...
...
@@ -39,10 +39,6 @@
#define __ADDRESSBOOK_H__
#include
<gtk/gtk.h>
// #include <addressbook/eds.h>
#define EMPTY_ENTRY "empty"
typedef
enum
{
ABOOK_QUERY_IS
,
ABOOK_QUERY_BEGINS_WITH
,
ABOOK_QUERY_CONTAINS
}
AddrbookSearchType
;
...
...
@@ -94,41 +90,4 @@ struct AddrBookHandle {
void
(
*
search_cb
)(
GList
*
,
gpointer
);
};
/**
* Initialize addressbook
*/
void
addressbook_init
(
gchar
**
book_list
);
/**
* Return addressbook state
*/
gboolean
addressbook_is_ready
();
/**
* Return addressbook state
*/
gboolean
addressbook_is_enabled
();
/**
* Return if at least one addressbook is active
*/
gboolean
addressbook_is_active
();
/**
* Perform a search in addressbook
*/
void
addressbook_search
(
AddrBookHandle
*
,
GtkEntry
*
,
AddressBook_Config
*
);
/**
* Get a list of addressbook book
*/
GSList
*
addressbook_get_books_data
(
gchar
**
book_list
);
book_data_t
*
addressbook_get_book_data_by_uid
(
gchar
*
);
void
addressbook_set_current_book
(
gchar
*
);
void
addressbook_set_search_type
(
AddrbookSearchType
);
#endif
This diff is collapsed.
Click to expand it.
gnome/src/contacts/calllist.c
+
1
−
1
View file @
02d1e694
...
...
@@ -47,7 +47,7 @@ gint is_callID_callstruct(gconstpointer a, gconstpointer b)
void
calllist_add_contact
(
gchar
*
contact_name
,
gchar
*
contact_phone
,
contact_type_t
type
,
GdkPixbuf
*
photo
)
{
/* Check if the information is valid */
if
(
g_strcasecmp
(
contact_phone
,
EMPTY_ENTRY
)
==
0
)
if
(
g_strcasecmp
(
contact_phone
,
"empty"
)
==
0
)
return
;
callable_obj_t
*
new_call
=
create_new_call
(
CONTACT
,
CALL_STATE_DIALING
,
""
,
""
,
contact_name
,
contact_phone
);
...
...
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