Skip to content

Commit

Permalink
Merge pull request #168 from b4n/codenav/fixes
Browse files Browse the repository at this point in the history
A few Codenav fixes
  • Loading branch information
frlan committed Oct 21, 2014
2 parents c3e049f + 55bd845 commit 90b4429
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions codenav/src/codenavigation.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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();
Expand Down Expand Up @@ -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;
Expand Down
5 changes: 3 additions & 2 deletions codenav/src/switch_head_impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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;
}
2 changes: 1 addition & 1 deletion codenav/src/switch_head_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 90b4429

Please sign in to comment.