[geany/geany-plugins] e08e6b: Remove debug prints
Jiří Techet
git-noreply at xxxxx
Mon Apr 1 01:03:38 UTC 2019
Branch: refs/heads/master
Author: Jiří Techet <techet at gmail.com>
Committer: Jiří Techet <techet at gmail.com>
Date: Sun, 14 Oct 2018 18:37:12 UTC
Commit: e08e6ba85038a65c2560ecfa9f18fad0511a0c13
https://github.com/geany/geany-plugins/commit/e08e6ba85038a65c2560ecfa9f18fad0511a0c13
Log Message:
-----------
Remove debug prints
Modified Paths:
--------------
projectorganizer/src/prjorg-sidebar.c
Modified: projectorganizer/src/prjorg-sidebar.c
10 lines changed, 0 insertions(+), 10 deletions(-)
===================================================================
@@ -369,7 +369,6 @@ static gchar* parent_dir_for_create()
path = build_path(&iter);
if (!g_file_test(path, G_FILE_TEST_IS_DIR))
{
- g_print("%s is not dir\n", path);
g_free(path);
path = NULL;
if (gtk_tree_model_iter_parent(model, &parent, &iter))
@@ -388,16 +387,13 @@ static void on_create_file(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GNUC_UNUSED gp
if (dir == NULL)
return;
- g_print("Creating file in %s\n", dir);
-
name = dialogs_show_input(_("New File"), GTK_WINDOW(geany->main_widgets->window),
_("Name:"), _("newfile.txt"));
if (name != NULL)
{
path = g_build_path(G_DIR_SEPARATOR_S, dir, name, NULL);
g_free(name);
- g_print("new file: %s", path);
if (create_file(path))
{
@@ -422,16 +418,13 @@ static void on_create_dir(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GNUC_UNUSED gpo
if (dir == NULL)
return;
- g_print("Creating dir in %s\n", dir);
-
name = dialogs_show_input(_("New Directory"), GTK_WINDOW(geany->main_widgets->window),
_("Name:"), _("newdir"));
if (name != NULL)
{
path = g_build_path(G_DIR_SEPARATOR_S, dir, name, NULL);
g_free(name);
- g_print("new dir: %s", path);
if (create_dir(path))
{
@@ -454,8 +447,6 @@ static void on_rename(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GNUC_UNUSED gpointe
GtkTreeIter iter, parent;
gchar *name, *dir, *newname, *oldpath, *newpath;
- g_print("Renaming");
-
treesel = gtk_tree_view_get_selection(GTK_TREE_VIEW(s_file_view));
if (!gtk_tree_selection_get_selected(treesel, &model, &iter))
return;
@@ -511,7 +502,6 @@ static void on_delete(G_GNUC_UNUSED GtkMenuItem *menuitem, G_GNUC_UNUSED gpointe
if (dialogs_show_question(_("Do you really want to delete '%s'"), name))
{
path = build_path(&iter);
- printf("deleting '%s'\n", path);
//TODO: recurse into directories
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list