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
02d1e694
Commit
02d1e694
authored
Sep 12, 2011
by
Rafaël Carré
Browse files
* #5695 : addressbook : remove unused stuff in the client
parent
ced9d1e5
Changes
2
Show whitespace changes
Inline
Side-by-side
gnome/src/contacts/addressbook.h
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
gnome/src/contacts/calllist.c
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
);
...
...
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