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
df303839
Commit
df303839
authored
12 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
* #10736: calltree: removed static global vars
parent
12f5e607
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gnome/src/contacts/calltree.c
+6
-18
6 additions, 18 deletions
gnome/src/contacts/calltree.c
with
6 additions
and
18 deletions
gnome/src/contacts/calltree.c
+
6
−
18
View file @
df303839
...
...
@@ -66,10 +66,6 @@ static const gchar * const SFL_TRANSFER_CALL = "Transfer call to";
static
GtkWidget
*
calltree_popupmenu
=
NULL
;
static
GtkWidget
*
calltree_menu_items
=
NULL
;
static
callable_obj_t
*
calltree_source_call
=
NULL
;
static
conference_obj_t
*
calltree_source_conf
=
NULL
;
static
void
drag_data_received_cb
(
GtkWidget
*
,
GdkDragContext
*
,
gint
,
gint
,
GtkSelectionData
*
,
guint
,
guint
,
gpointer
);
static
void
menuitem_response
(
gchar
*
string
);
...
...
@@ -88,12 +84,6 @@ enum {
COLUMNS_IN_TREE_STORE
};
enum
{
DRAG_ACTION_CALL_ON_CALL
=
0
,
DRAG_ACTION_CALL_ON_CONF
,
DRAG_ACTION_CALL_OUT_CONf
};
/**
* Show popup menu
*/
...
...
@@ -138,21 +128,19 @@ call_selected_cb(GtkTreeSelection *sel, void* data UNUSED)
if
(
is_conference
(
model
,
&
iter
))
{
DEBUG
(
"Selected a conference"
);
calltree_s
ource
_conf
=
conferencelist_get
(
active_calltree_tab
,
id
);
conference_obj_t
*
calltree_s
elected
_conf
=
conferencelist_get
(
active_calltree_tab
,
id
);
g_free
(
id
);
if
(
calltree_source_conf
)
{
calltab_select_conf
(
active_calltree_tab
,
calltree_source_conf
);
}
if
(
calltree_selected_conf
)
calltab_select_conf
(
active_calltree_tab
,
calltree_selected_conf
);
}
else
{
DEBUG
(
"Selected a call"
);
call
tree_source
_call
=
calllist_get_call
(
active_calltree_tab
,
id
);
call
able_obj_t
*
selected
_call
=
calllist_get_call
(
active_calltree_tab
,
id
);
g_free
(
id
);
if
(
calltree_source_call
)
{
calltab_select_call
(
active_calltree_tab
,
calltree_source_call
);
}
if
(
selected_call
)
calltab_select_call
(
active_calltree_tab
,
selected_call
);
}
update_actions
();
...
...
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