Branch: refs/heads/1.22_release Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Sun, 08 Jul 2012 14:46:04 Commit: 9248a122373bc22e063db52dea3d3f64006c0ba4 https://github.com/geany/geany-plugins/commit/9248a122373bc22e063db52dea3d3f...
Log Message: ----------- gproject: Use proper C prototypes for functions without arguments
Modified Paths: -------------- gproject/src/gproject-menu.c gproject/src/gproject-project.c gproject/src/gproject-sidebar.c
Modified: gproject/src/gproject-menu.c 4 files changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -340,7 +340,7 @@ static void on_open_selected_file(GtkMenuItem *menuitem, gpointer user_data) }
-void gprj_menu_init() +void gprj_menu_init(void) { GtkWidget *image;
@@ -397,7 +397,7 @@ void gprj_menu_activate_menu_items(gboolean activate) }
-void gprj_menu_cleanup() +void gprj_menu_cleanup(void) { gtk_widget_destroy(s_fif_item); gtk_widget_destroy(s_ff_item);
Modified: gproject/src/gproject-project.c 8 files changed, 4 insertions(+), 4 deletions(-) =================================================================== @@ -63,7 +63,7 @@ static void deferred_op_free(DeferredTagOp* op, G_GNUC_UNUSED gpointer user_data }
-static void deferred_op_queue_clean() +static void deferred_op_queue_clean(void) { g_slist_foreach(file_tag_deferred_op_queue, (GFunc)deferred_op_free, NULL); g_slist_free(file_tag_deferred_op_queue); @@ -217,7 +217,7 @@ static GSList *get_file_list(const gchar * path, GSList *patterns, GSList *ignor }
-void gprj_project_rescan() +void gprj_project_rescan(void) { GSList *pattern_list = NULL; GSList *ignored_dirs_list = NULL; @@ -369,7 +369,7 @@ static gchar **split_patterns(const gchar *str) }
-void gprj_project_read_properties_tab() +void gprj_project_read_properties_tab(void) { gchar **source_patterns, **header_patterns, **ignored_dirs_patterns;
@@ -464,7 +464,7 @@ gint gprj_project_add_properties_tab(GtkWidget *notebook) }
-void gprj_project_close() +void gprj_project_close(void) { g_return_if_fail(g_prj);
Modified: gproject/src/gproject-sidebar.c 12 files changed, 6 insertions(+), 6 deletions(-) =================================================================== @@ -319,7 +319,7 @@ static void on_reload_project(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GNUC_UNUSED }
-static void on_open_clicked() +static void on_open_clicked(void) { GtkTreeSelection *treesel; GtkTreeModel *model; @@ -524,7 +524,7 @@ static void create_branch(gint level, GSList *leaf_list, GtkTreeIter *parent, }
-static void load_project() +static void load_project(void) { GSList *lst = NULL; GSList *path_list = NULL; @@ -606,7 +606,7 @@ static gboolean find_in_tree(GtkTreeIter *parent, gchar **path_split, gint level }
-static void follow_editor() +static void follow_editor(void) { GtkTreeIter found_iter; gchar *path; @@ -650,7 +650,7 @@ void gprj_sidebar_update(gboolean reload) }
-void gprj_sidebar_find_file_in_active() +void gprj_sidebar_find_file_in_active(void) { find_file(NULL); } @@ -681,7 +681,7 @@ static gboolean on_button_release(G_GNUC_UNUSED GtkWidget * widget, GdkEventButt }
-void gprj_sidebar_init() +void gprj_sidebar_init(void) { GtkWidget *scrollwin, *toolbar, *item, *image; GtkCellRenderer *renderer; @@ -829,7 +829,7 @@ void gprj_sidebar_activate(gboolean activate) }
-void gprj_sidebar_cleanup() +void gprj_sidebar_cleanup(void) { gtk_widget_destroy(s_file_view_vbox); }
@@ 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