Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in / Register
Toggle navigation
J
jami-daemon
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
120
Issues
120
List
Boards
Labels
Milestones
Security & Compliance
Security & Compliance
Dependency List
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
savoirfairelinux
jami-daemon
Commits
02d1e694
Commit
02d1e694
authored
Sep 12, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* #5695 : addressbook : remove unused stuff in the client
parent
ced9d1e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
42 deletions
+1
-42
gnome/src/contacts/addressbook.h
gnome/src/contacts/addressbook.h
+0
-41
gnome/src/contacts/calllist.c
gnome/src/contacts/calllist.c
+1
-1
No files found.
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
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