Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sun, 08 Jul 2012 14:39:27 Commit: 715ab579342bba3e1c2676f28e7b28cf807db483 https://github.com/geany/geany-plugins/commit/715ab579342bba3e1c2676f28e7b28...
Log Message: ----------- geanylatex: Use proper C prototypes for functions without arguments
Modified Paths: -------------- geanylatex/src/bibtex.c geanylatex/src/geanylatex.c geanylatex/src/latexstructure.c geanylatex/src/latexutils.c geanylatex/src/templates.c
Modified: geanylatex/src/bibtex.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -107,7 +107,7 @@ void glatex_insert_bibtex_entry(G_GNUC_UNUSED GtkMenuItem * menuitem, }
/* Creating and initialising a array for a bibTeX entry with NULL pointers*/ -GPtrArray *glatex_bibtex_init_empty_entry() +GPtrArray *glatex_bibtex_init_empty_entry(void) { GPtrArray *entry = g_ptr_array_new(); g_ptr_array_set_size(entry, GLATEX_BIBTEX_N_ENTRIES);
Modified: geanylatex/src/geanylatex.c 26 files changed, 13 insertions(+), 13 deletions(-) =================================================================== @@ -160,7 +160,7 @@ static void remove_wizard_from_generic_toolbar(void);
-static GtkWidget *init_toolbar() +static GtkWidget *init_toolbar(void) { GtkWidget *toolbar = NULL;
@@ -392,7 +392,7 @@ static void toggle_toolbar_item(const gchar *path, gboolean new_status) }
-static void activate_toolbar_items() +static void activate_toolbar_items(void) { if (uim == NULL) { @@ -408,7 +408,7 @@ static void activate_toolbar_items() gtk_ui_manager_ensure_update(uim); }
-static void deactivate_toolbar_items() +static void deactivate_toolbar_items(void) { if (uim == NULL) { @@ -1918,7 +1918,7 @@ void glatex_insert_usepackage_dialog(G_GNUC_UNUSED GtkMenuItem * menuitem, gtk_widget_show_all(dialog); }
-static void init_keybindings() +static void init_keybindings(void) { GeanyKeyGroup *key_group;
@@ -1982,7 +1982,7 @@ static void init_keybindings() }
-void plugin_help() +void plugin_help(void) { dialogs_show_msgbox(GTK_MESSAGE_INFO, _("GeanyLaTeX is a plugin to improve support for LaTeX in Geany." @@ -1991,7 +1991,7 @@ void plugin_help() }
-static void glatex_init_configuration() +static void glatex_init_configuration(void) { GKeyFile *config = g_key_file_new();
@@ -2063,7 +2063,7 @@ static void glatex_init_configuration()
static void -add_wizard_to_generic_toolbar() +add_wizard_to_generic_toolbar(void) { if (glatex_wizard_generic_toolbar_item == NULL) { @@ -2079,7 +2079,7 @@ static void glatex_init_configuration()
static void -remove_wizard_from_generic_toolbar() +remove_wizard_from_generic_toolbar(void) { if (glatex_wizard_generic_toolbar_item != NULL) { @@ -2090,7 +2090,7 @@ static void glatex_init_configuration()
static void -add_menu_to_menubar() +add_menu_to_menubar(void) { GtkWidget *tmp = NULL; gint i; @@ -2293,7 +2293,7 @@ static void glatex_init_configuration() }
/* Removes the menubar menus from menubar if requested and available */ -static void remove_menu_from_menubar() +static void remove_menu_from_menubar(void) { if (menu_latex != NULL) { @@ -2309,7 +2309,7 @@ static void remove_menu_from_menubar()
static void -remove_menu_from_tools_menu() +remove_menu_from_tools_menu(void) { if (menu_latex_toolbar_wizard != NULL) { @@ -2320,7 +2320,7 @@ static void remove_menu_from_menubar()
static void -add_wizard_to_tools_menu() +add_wizard_to_tools_menu(void) { if (menu_latex_toolbar_wizard == NULL) { @@ -2383,7 +2383,7 @@ static void remove_menu_from_menubar() }
void -plugin_cleanup() +plugin_cleanup(void) { if (glatex_toolbar != NULL) gtk_widget_destroy(glatex_toolbar);
Modified: geanylatex/src/latexstructure.c 4 files changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -60,7 +60,7 @@ gint glatex_structure_rotate(gboolean direction, gint start) }
-void glatex_structure_lvlup() +void glatex_structure_lvlup(void) { gint i; GeanyDocument *doc = NULL; @@ -103,7 +103,7 @@ void glatex_structure_lvlup() g_string_free(haystack, TRUE); }
-void glatex_structure_lvldown() +void glatex_structure_lvldown(void) { gint i; GeanyDocument *doc = NULL;
Modified: geanylatex/src/latexutils.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -119,7 +119,7 @@ void glatex_enter_key_pressed_in_entry(G_GNUC_UNUSED GtkWidget *widget, gpointer }
-void glatex_replace_special_character() +void glatex_replace_special_character(void) { GeanyDocument *doc = NULL; doc = document_get_current();
Modified: geanylatex/src/templates.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -60,7 +60,7 @@ static void glatex_init_cutom_template_item(gchar *file, GPtrArray *array) }
-GPtrArray* glatex_init_custom_templates() +GPtrArray* glatex_init_custom_templates(void) { gchar *tmp_basedir = NULL; GSList *file_list = NULL;
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
plugins-commits@lists.geany.org