Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sun, 10 Nov 2013 00:43:10 UTC Commit: 1f2279aefe165b874a42457f4a24af498f92dc27 https://github.com/geany/geany/commit/1f2279aefe165b874a42457f4a24af498f92dc...
Log Message: ----------- Always use proper functions argument lists
Modified Paths: -------------- src/dialogs.c src/document.c src/editor.c src/filetypes.c src/highlighting.c src/keybindings.c src/main.c src/navqueue.c src/notebook.c src/prefix.c src/sidebar.c src/win32.c tagmanager/src/tm_workspace.c
Modified: src/dialogs.c 4 files changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -654,7 +654,7 @@ static gboolean show_save_as_gtk(GeanyDocument *doc) * * @return @c TRUE if the file was saved, otherwise @c FALSE. **/ -gboolean dialogs_show_save_as() +gboolean dialogs_show_save_as(void) { GeanyDocument *doc = document_get_current(); gboolean result = FALSE; @@ -864,7 +864,7 @@ gboolean dialogs_show_unsaved_file(GeanyDocument *doc)
/* This shows the font selection dialog to choose a font. */ -void dialogs_show_open_font() +void dialogs_show_open_font(void) { #ifdef G_OS_WIN32 win32_show_font_dialog();
Modified: src/document.c 4 files changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -266,13 +266,13 @@ GeanyDocument *document_get_current(void) }
-void document_init_doclist() +void document_init_doclist(void) { documents_array = g_ptr_array_new(); }
-void document_finalize() +void document_finalize(void) { guint i;
Modified: src/editor.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -3974,7 +3974,7 @@ void editor_indentation_by_one_space(GeanyEditor *editor, gint pos, gboolean dec }
-void editor_finalize() +void editor_finalize(void) { scintilla_release_resources(); }
Modified: src/filetypes.c 4 files changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -646,7 +646,7 @@ static void init_custom_filetypes(const gchar *path)
/* Create the filetypes array and fill it with the known filetypes. * Warning: GTK isn't necessarily initialized yet. */ -void filetypes_init_types() +void filetypes_init_types(void) { filetype_id ft_id; gchar *f; @@ -761,7 +761,7 @@ static void create_set_filetype_menu(void) }
-void filetypes_init() +void filetypes_init(void) { GSList *node;
Modified: src/highlighting.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -451,7 +451,7 @@ static void set_sci_style(ScintillaObject *sci, guint style, guint ft_id, guint }
-void highlighting_free_styles() +void highlighting_free_styles(void) { guint i;
Modified: src/keybindings.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -907,7 +907,7 @@ static GtkWidget *create_dialog(void) }
-static void key_dialog_show_prefs() +static void key_dialog_show_prefs(void) { GtkWidget *wid;
Modified: src/main.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -1236,7 +1236,7 @@ static void queue_free(GQueue *queue) }
-void main_quit() +void main_quit(void) { geany_debug("Quitting...");
Modified: src/navqueue.c 8 files changed, 4 insertions(+), 4 deletions(-) =================================================================== @@ -50,7 +50,7 @@
-void navqueue_init() +void navqueue_init(void) { navigation_queue = g_queue_new(); nav_queue_pos = 0; @@ -63,7 +63,7 @@ void navqueue_init() }
-void navqueue_free() +void navqueue_free(void) { while (! g_queue_is_empty(navigation_queue)) { @@ -184,7 +184,7 @@ static gboolean goto_file_pos(const gchar *file, gint pos) }
-void navqueue_go_back() +void navqueue_go_back(void) { filepos *fprev;
@@ -208,7 +208,7 @@ void navqueue_go_back() }
-void navqueue_go_forward() +void navqueue_go_forward(void) { filepos *fnext;
Modified: src/notebook.c 4 files changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -534,7 +534,7 @@ static gboolean notebook_tab_bar_click_cb(GtkWidget *widget, GdkEventButton *eve }
-void notebook_init() +void notebook_init(void) { g_signal_connect_after(main_widgets.notebook, "button-press-event", G_CALLBACK(notebook_tab_bar_click_cb), NULL); @@ -561,7 +561,7 @@ void notebook_free(void) }
-static void setup_tab_dnd() +static void setup_tab_dnd(void) { GtkWidget *notebook = main_widgets.notebook;
Modified: src/prefix.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -53,7 +53,7 @@
static void -br_free_last_value () +br_free_last_value (void) { if (br_last_value) free (br_last_value);
Modified: src/sidebar.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -529,7 +529,7 @@ void sidebar_openfiles_update(GeanyDocument *doc) }
-void sidebar_openfiles_update_all() +void sidebar_openfiles_update_all(void) { guint i;
Modified: src/win32.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -800,7 +800,7 @@ static FILE *open_std_handle(DWORD handle, const char *mode) }
-static void debug_setup_console() +static void debug_setup_console(void) { static const WORD MAX_CONSOLE_LINES = 500; CONSOLE_SCREEN_BUFFER_INFO coninfo;
Modified: tagmanager/src/tm_workspace.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -91,7 +91,7 @@ void tm_workspace_free(gpointer workspace) } }
-const TMWorkspace *tm_get_workspace() +const TMWorkspace *tm_get_workspace(void) { if (NULL == theWorkspace) tm_create_workspace();
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).