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
df303839
Commit
df303839
authored
May 15, 2012
by
Tristan Matthews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* #10736: calltree: removed static global vars
parent
12f5e607
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
18 deletions
+6
-18
gnome/src/contacts/calltree.c
gnome/src/contacts/calltree.c
+6
-18
No files found.
gnome/src/contacts/calltree.c
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"
);
c
alltree_source
_conf
=
conferencelist_get
(
active_calltree_tab
,
id
);
c
onference_obj_t
*
calltree_selected
_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
();
...
...
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