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
99e6a3b6
Commit
99e6a3b6
authored
12 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
* #10725: gnome: cleanup logging
parent
f6dd011e
No related branches found
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/calltab.c
+2
-2
2 additions, 2 deletions
gnome/src/contacts/calltab.c
gnome/src/contacts/conferencelist.c
+14
-14
14 additions, 14 deletions
gnome/src/contacts/conferencelist.c
with
16 additions
and
16 deletions
gnome/src/contacts/calltab.c
+
2
−
2
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
;
...
...
This diff is collapsed.
Click to expand it.
gnome/src/contacts/conferencelist.c
+
14
−
14
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
(
"
ConferenceList: Error:
Call 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
(
"
ConferenceList: Error:
Calltab 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
(
"
ConferenceList: Error:
Calltab 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
(
"
ConferenceList: 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
(
"
ConferenceList: Error:
Conf id is NULL"
);
ERROR
(
"Conf id is NULL"
);
return
;
}
if
(
tab
==
NULL
)
{
ERROR
(
"
ConferenceList: Error:
Calltab 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
(
"
ConferenceList:
Conference list get %s"
,
conf_id
);
DEBUG
(
"Conference list get %s"
,
conf_id
);
if
(
tab
==
NULL
)
{
ERROR
(
"
ConferenceList: Error:
Calltab 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
(
"
ConferenceList: Error:
Calltab is NULL"
);
ERROR
(
"Calltab is NULL"
);
return
NULL
;
}
conference_obj_t
*
c
=
g_queue_peek_nth
(
tab
->
conferenceQueue
,
n
);
if
(
c
==
NULL
)
{
ERROR
(
"
ConferenceList: Error:
Could 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
(
"
ConferenceList: Error:
Calltab is NULL"
);
ERROR
(
"Calltab is NULL"
);
return
0
;
}
...
...
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