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
662a32e2
Commit
662a32e2
authored
16 years ago
by
Emmanuel Milou
Browse files
Options
Downloads
Patches
Plain Diff
remove static method declaration in header file
parent
b92d9546
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
sflphone-gtk/src/assistant.c
+27
-0
27 additions, 0 deletions
sflphone-gtk/src/assistant.c
sflphone-gtk/src/assistant.h
+6
-18
6 additions, 18 deletions
sflphone-gtk/src/assistant.h
sflphone-gtk/src/calltree.h
+0
-1
0 additions, 1 deletion
sflphone-gtk/src/calltree.h
with
33 additions
and
19 deletions
sflphone-gtk/src/assistant.c
+
27
−
0
View file @
662a32e2
...
@@ -27,6 +27,16 @@ struct _wizard *wiz;
...
@@ -27,6 +27,16 @@ struct _wizard *wiz;
static
int
account_type
;
static
int
account_type
;
account_t
*
current
;
account_t
*
current
;
/**
* Forward function
*/
static
gint
forward_page_func
(
gint
current_page
,
gpointer
data
);
/**
* Page template
*/
static
GtkWidget
*
create_vbox
(
GtkAssistantPageType
type
,
const
gchar
*
title
,
const
gchar
*
section
);
void
void
set_account_type
(
GtkWidget
*
widget
,
gpointer
data
)
set_account_type
(
GtkWidget
*
widget
,
gpointer
data
)
{
{
...
@@ -38,18 +48,30 @@ set_account_type( GtkWidget* widget , gpointer data )
...
@@ -38,18 +48,30 @@ set_account_type( GtkWidget* widget , gpointer data )
}
}
}
}
/**
* Callback when the close button of the dialog is clicked
* Action : close the assistant widget and get back to sflphone main window
*/
static
void
close_callback
(
void
)
static
void
close_callback
(
void
)
{
{
gtk_widget_destroy
(
wiz
->
assistant
);
gtk_widget_destroy
(
wiz
->
assistant
);
g_free
(
wiz
);
wiz
=
NULL
;
g_free
(
wiz
);
wiz
=
NULL
;
}
}
/**
* Callback when the cancel button of the dialog is clicked
* Action : close the assistant widget and get back to sflphone main window
*/
static
void
cancel_callback
(
void
)
static
void
cancel_callback
(
void
)
{
{
gtk_widget_destroy
(
wiz
->
assistant
);
gtk_widget_destroy
(
wiz
->
assistant
);
g_free
(
wiz
);
wiz
=
NULL
;
g_free
(
wiz
);
wiz
=
NULL
;
}
}
/**
* Callback when the button apply is clicked
* Action : Set the account parameters with the entries values and called dbus_add_account
*/
static
void
static
void
sip_apply_callback
(
void
)
sip_apply_callback
(
void
)
{
{
...
@@ -71,6 +93,11 @@ sip_apply_callback( void )
...
@@ -71,6 +93,11 @@ sip_apply_callback( void )
g_print
(
"ACCOUNT ID = %s
\n
"
,
current
->
accountID
);
g_print
(
"ACCOUNT ID = %s
\n
"
,
current
->
accountID
);
}
}
}
}
/**
* Callback when the button apply is clicked
* Action : Set the account parameters with the entries values and called dbus_add_account
*/
static
void
static
void
iax_apply_callback
(
void
)
iax_apply_callback
(
void
)
{
{
...
...
This diff is collapsed.
Click to expand it.
sflphone-gtk/src/assistant.h
+
6
−
18
View file @
662a32e2
...
@@ -78,24 +78,12 @@ struct _wizard
...
@@ -78,24 +78,12 @@ struct _wizard
*/
*/
void
set_account_type
(
GtkWidget
*
widget
,
gpointer
data
);
void
set_account_type
(
GtkWidget
*
widget
,
gpointer
data
);
/**
//static void cancel_callback( void );
* Callback when the cancel button of the dialog is clicked
* Action : close the assistant widget and get back to sflphone main window
*/
static
void
cancel_callback
(
void
);
/**
//static void close_callback( void );
* Callback when the close button of the dialog is clicked
* Action : close the assistant widget and get back to sflphone main window
*/
static
void
close_callback
(
void
);
/**
//static void sip_apply_callback( void );
* Callback when the button apply is clicked
//static void iax_apply_callback( void );
* Action : Set the account parameters with the entries values and called dbus_add_account
*/
static
void
sip_apply_callback
(
void
);
static
void
iax_apply_callback
(
void
);
void
enable_stun
(
GtkWidget
*
widget
);
void
enable_stun
(
GtkWidget
*
widget
);
...
@@ -114,12 +102,12 @@ GtkWidget* build_registration_error( void );
...
@@ -114,12 +102,12 @@ GtkWidget* build_registration_error( void );
/**
/**
* Forward function
* Forward function
*/
*/
static
gint
forward_page_func
(
gint
current_page
,
gpointer
data
);
//
static gint forward_page_func( gint current_page , gpointer data );
/**
/**
* Page template
* Page template
*/
*/
static
GtkWidget
*
create_vbox
(
GtkAssistantPageType
type
,
const
gchar
*
title
,
const
gchar
*
section
);
//
static GtkWidget* create_vbox(GtkAssistantPageType type, const gchar *title, const gchar *section);
#endif // GTK_CHECK_VERSION
#endif // GTK_CHECK_VERSION
...
...
This diff is collapsed.
Click to expand it.
sflphone-gtk/src/calltree.h
+
0
−
1
View file @
662a32e2
...
@@ -44,7 +44,6 @@ void create_call_tree(calltab_t* tab);
...
@@ -44,7 +44,6 @@ void create_call_tree(calltab_t* tab);
* Update the toolbar's buttons state, according to the call state
* Update the toolbar's buttons state, according to the call state
*/
*/
void
toolbar_update_buttons
();
void
toolbar_update_buttons
();
static
void
toggle_history
(
GtkToggleToolButton
*
toggle_tool_button
,
gpointer
user_data
);
/**
/**
* Add a call in the calltree
* Add a call in the calltree
...
...
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