Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
jami-daemon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
130
Issues
130
List
Boards
Labels
Service Desk
Milestones
Iterations
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
savoirfairelinux
jami-daemon
Commits
99e6a3b6
Commit
99e6a3b6
authored
May 17, 2012
by
Tristan Matthews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* #10725: gnome: cleanup logging
parent
f6dd011e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
gnome/src/contacts/calltab.c
gnome/src/contacts/calltab.c
+2
-2
gnome/src/contacts/conferencelist.c
gnome/src/contacts/conferencelist.c
+14
-14
No files found.
gnome/src/contacts/calltab.c
View file @
99e6a3b6
...
...
@@ -53,7 +53,7 @@ void
calltab_select_call
(
calltab_t
*
tab
,
callable_obj_t
*
c
)
{
g_assert
(
tab
);
DEBUG
(
"
CallTab:
Select call %s"
,
c
?
c
->
_callID
:
""
);
DEBUG
(
"Select call %s"
,
c
?
c
->
_callID
:
""
);
tab
->
selectedType
=
A_CALL
;
tab
->
selectedCall
=
c
;
...
...
@@ -65,7 +65,7 @@ void
calltab_select_conf
(
calltab_t
*
tab
,
conference_obj_t
*
c
)
{
g_assert
(
tab
);
DEBUG
(
"
CallTab:
Selected conf %s"
,
c
?
c
->
_confID
:
""
);
DEBUG
(
"Selected conf %s"
,
c
?
c
->
_confID
:
""
);
tab
->
selectedType
=
A_CONFERENCE
;
tab
->
selectedConf
=
c
;
...
...
gnome/src/contacts/conferencelist.c
View file @
99e6a3b6
...
...
@@ -44,7 +44,7 @@ static gint is_confID_confstruct(gconstpointer a, gconstpointer b)
void
conferencelist_init
(
calltab_t
*
tab
)
{
if
(
tab
==
NULL
)
{
ERROR
(
"C
onferenceList: Error: C
all tab is NULL"
);
ERROR
(
"Call tab is NULL"
);
return
;
}
...
...
@@ -55,7 +55,7 @@ void conferencelist_init(calltab_t *tab)
void
conferencelist_clean
(
calltab_t
*
tab
)
{
if
(
tab
==
NULL
)
{
ERROR
(
"C
onferenceList: Error: C
alltab tab is NULL"
);
ERROR
(
"Calltab tab is NULL"
);
return
;
}
...
...
@@ -65,7 +65,7 @@ void conferencelist_clean(calltab_t *tab)
void
conferencelist_reset
(
calltab_t
*
tab
)
{
if
(
tab
==
NULL
)
{
ERROR
(
"C
onferenceList: Error: C
alltab tab is NULL"
);
ERROR
(
"Calltab tab is NULL"
);
return
;
}
...
...
@@ -77,12 +77,12 @@ void conferencelist_reset(calltab_t *tab)
void
conferencelist_add
(
calltab_t
*
tab
,
const
conference_obj_t
*
conf
)
{
if
(
conf
==
NULL
)
{
ERROR
(
"Conference
List: Error: Conference
is NULL"
);
ERROR
(
"Conference is NULL"
);
return
;
}
if
(
tab
==
NULL
)
{
ERROR
(
"
ConferenceList: Error:
Tab is NULL"
);
ERROR
(
"Tab is NULL"
);
return
;
}
...
...
@@ -96,15 +96,15 @@ void conferencelist_add(calltab_t *tab, const conference_obj_t* conf)
void
conferencelist_remove
(
calltab_t
*
tab
,
const
gchar
*
const
conf_id
)
{
DEBUG
(
"
ConferenceList:
Remove conference %s"
,
conf_id
);
DEBUG
(
"Remove conference %s"
,
conf_id
);
if
(
conf_id
==
NULL
)
{
ERROR
(
"Conf
erenceList: Error: Conf
id is NULL"
);
ERROR
(
"Conf id is NULL"
);
return
;
}
if
(
tab
==
NULL
)
{
ERROR
(
"C
onferenceList: Error: C
alltab is NULL"
);
ERROR
(
"Calltab is NULL"
);
return
;
}
...
...
@@ -118,10 +118,10 @@ void conferencelist_remove(calltab_t *tab, const gchar* const conf_id)
conference_obj_t
*
conferencelist_get
(
calltab_t
*
tab
,
const
gchar
*
const
conf_id
)
{
DEBUG
(
"Conference
List: Conference
list get %s"
,
conf_id
);
DEBUG
(
"Conference list get %s"
,
conf_id
);
if
(
tab
==
NULL
)
{
ERROR
(
"C
onferenceList: Error: C
alltab is NULL"
);
ERROR
(
"Calltab is NULL"
);
return
NULL
;
}
...
...
@@ -136,14 +136,14 @@ conference_obj_t* conferencelist_get(calltab_t *tab, const gchar* const conf_id)
conference_obj_t
*
conferencelist_get_nth
(
calltab_t
*
tab
,
guint
n
)
{
if
(
tab
==
NULL
)
{
ERROR
(
"C
onferenceList: Error: C
alltab is NULL"
);
ERROR
(
"Calltab is NULL"
);
return
NULL
;
}
conference_obj_t
*
c
=
g_queue_peek_nth
(
tab
->
conferenceQueue
,
n
);
if
(
c
==
NULL
)
{
ERROR
(
"Co
nferenceList: Error: Co
uld not fetch conference %d"
,
n
);
ERROR
(
"Could not fetch conference %d"
,
n
);
return
NULL
;
}
...
...
@@ -153,7 +153,7 @@ conference_obj_t* conferencelist_get_nth(calltab_t *tab, guint n)
conference_obj_t
*
conferencelist_pop_head
(
calltab_t
*
tab
)
{
if
(
tab
==
NULL
)
{
ERROR
(
"
ConferenceList: Error:
Tab is NULL"
);
ERROR
(
"Tab is NULL"
);
return
NULL
;
}
...
...
@@ -163,7 +163,7 @@ conference_obj_t *conferencelist_pop_head(calltab_t *tab)
guint
conferencelist_get_size
(
calltab_t
*
tab
)
{
if
(
tab
==
NULL
)
{
ERROR
(
"C
onferenceList: Error: C
alltab is NULL"
);
ERROR
(
"Calltab is NULL"
);
return
0
;
}
...
...
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