Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Tue, 05 Mar 2024 17:40:10 UTC Commit: 07f0fdc1ef2ccaf104b5f9591bfcf3a56f035c4f https://github.com/geany/geany-plugins/commit/07f0fdc1ef2ccaf104b5f9591bfcf3...
Log Message: ----------- projectorganizer: fix various warnings
Modified Paths: -------------- projectorganizer/src/prjorg-sidebar.c
Modified: projectorganizer/src/prjorg-sidebar.c 9 lines changed, 3 insertions(+), 6 deletions(-) =================================================================== @@ -382,7 +382,8 @@ void on_open_file_manager(G_GNUC_UNUSED GtkMenuItem * menuitem, G_GNUC_UNUSED gp
if (locale_path) { - gchar *command, *open_command; + const gchar *open_command; + gchar *command;
open_command = PRJORG_COMMAND_OPEN; command = g_strconcat (open_command, " "", locale_path, """, NULL); @@ -1562,7 +1563,7 @@ gchar **prjorg_sidebar_get_expanded_paths(void) (GtkTreeViewMappingFunc)on_map_expanded, expanded_paths); g_ptr_array_add(expanded_paths, NULL);
- return g_ptr_array_free(expanded_paths, FALSE); + return (gchar **)g_ptr_array_free(expanded_paths, FALSE); }
@@ -1587,10 +1588,6 @@ void prjorg_sidebar_update_full(gboolean reload, gchar **expanded_paths)
if (reload) { - GtkTreeSelection *treesel; - GtkTreeIter iter; - GtkTreeModel *model; - expand_data->expanded_paths = expanded_paths != NULL ? expanded_paths : prjorg_sidebar_get_expanded_paths(); expand_data->selected_path = get_selected_path();
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org