Branch: refs/heads/master Author: Frank Lanitz frank@frank.uvena.de Committer: Frank Lanitz frank@frank.uvena.de Date: Wed, 20 Jun 2012 15:46:10 Commit: 8c4a9b3904ed4762b6d178607278508aedcf8b22 https://github.com/geany/geany-plugins/commit/8c4a9b3904ed4762b6d17860727850...
Log Message: ----------- Treebrowser: Don't use C99 comments
Modified Paths: -------------- treebrowser/src/treebrowser.c
Modified: treebrowser/src/treebrowser.c 10 files changed, 5 insertions(+), 5 deletions(-) =================================================================== @@ -1005,14 +1005,14 @@ enum if (gtk_tree_selection_get_selected(selection, &model, &iter)) { gtk_tree_model_get(model, &iter, TREEBROWSER_COLUMN_URI, &uri, -1); - // If not a directory, find parent directory + /* If not a directory, find parent directory */ if (! g_file_test(uri, G_FILE_TEST_IS_DIR)) { path_parent = gtk_tree_model_get_path(GTK_TREE_MODEL(treestore), &iter); - // Set iter from parent_path + /* Set iter from parent_path */ if (gtk_tree_path_up(path_parent) && gtk_tree_model_get_iter(GTK_TREE_MODEL(treestore), &iter, path_parent)) - // Set URI from new iter + /* Set URI from new iter */ gtk_tree_model_get(model, &iter, TREEBROWSER_COLUMN_URI, &uri, -1); else refresh_root = TRUE; @@ -1392,13 +1392,13 @@ enum
if (event->button == 3) { - // Get tree path for row that was clicked + /* Get tree path for row that was clicked */ if (gtk_tree_view_get_path_at_pos(GTK_TREE_VIEW(treeview), (gint) event->x, (gint) event->y, &path, NULL, NULL, NULL)) { - // Unselect current selection; select clicked row from path + /* Unselect current selection; select clicked row from path */ gtk_tree_selection_unselect_all(selection); gtk_tree_selection_select_path(selection, path); gtk_tree_path_free(path);
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).