Skip to content
Snippets Groups Projects
Commit 662a32e2 authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

remove static method declaration in header file

parent b92d9546
No related branches found
No related tags found
No related merge requests found
...@@ -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 )
{ {
......
...@@ -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
......
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment