Branch: refs/heads/master Author: Frank Lanitz frank@frank.uvena.de Committer: Frank Lanitz frank@frank.uvena.de Date: Tue, 21 Oct 2014 22:31:43 UTC Commit: 90b442941f3e3a353a468f622f73eb8e55dba864 https://github.com/geany/geany-plugins/commit/90b442941f3e3a353a468f622f73eb...
Log Message: ----------- Merge pull request #168 from b4n/codenav/fixes
A few Codenav fixes
Modified Paths: -------------- codenav/src/codenavigation.c codenav/src/switch_head_impl.c codenav/src/switch_head_impl.h
Modified: codenav/src/codenavigation.c 8 lines changed, 4 insertions(+), 4 deletions(-) =================================================================== @@ -74,7 +74,7 @@ GtkWidget* config_widget(void);
static void -load_configuration(); +load_configuration(void);
static void on_configure_add_language(GtkWidget* widget, gpointer data); @@ -114,13 +114,13 @@ void plugin_init(GeanyData *data) * @return void * */ -static void load_configuration() +static void load_configuration(void) { GKeyFile *config = NULL; gchar *config_filename = NULL; gchar **impl_list = NULL, **head_list = NULL; gsize head_list_len, impl_list_len; - int i; + gsize i;
/* Load user configuration */ config = g_key_file_new(); @@ -220,7 +220,7 @@ void plugin_cleanup(void) static void on_configure_response(GtkDialog* dialog, gint response, gpointer user_data) { - gint i=0; + gsize i=0;
GKeyFile *config = NULL; gchar *config_filename = NULL;
Modified: codenav/src/switch_head_impl.c 5 lines changed, 3 insertions(+), 2 deletions(-) =================================================================== @@ -141,7 +141,8 @@ fill_languages_list(const gchar** impl_list, const gchar** head_list, gsize n) { gchar **splitted_list; Language* lang = NULL; - gint i, j; + gsize i; + guint j; languages_clean();
@@ -440,7 +441,7 @@ menu_item_activate(guint key_id) * @return GSList* languages list * */ -GSList* switch_head_impl_get_languages() +GSList* switch_head_impl_get_languages(void) { return languages; }
Modified: codenav/src/switch_head_impl.h 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -51,7 +51,7 @@ fill_languages_list(const gchar**, const gchar**, gsize);
-GSList* switch_head_impl_get_languages(); +GSList* switch_head_impl_get_languages(void);
#endif /* SWITCH_HEAD_IMPL_H */
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).