Remove unneeded 'missing response' debug messages.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1110 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2006-12-17 17:21:02 +00:00
parent 8f60640b59
commit dfd3332bb9
2 changed files with 4 additions and 4 deletions

View File

@ -4,6 +4,8 @@
Fix using the current word on first use of the Find in Files dialog.
* src/document.c:
Don't log 'replaced 0 occurrences' status messages.
* src/search.c:
Remove unneeded 'missing response' debug messages.
2006-12-16 Nick Treleaven <nick.treleaven@btinternet.com>

View File

@ -799,8 +799,7 @@ on_find_dialog_response(GtkDialog *dialog, gint response, gpointer user_data)
// TODO
break;
default:
geany_debug("Missing response in %s.", __func__);
// Note: we can get GTK_RESPONSE_DELETE_EVENT responses when ESC is pressed
}
if (check_close)
gtk_widget_hide(widgets.find_dialog);
@ -927,8 +926,7 @@ on_replace_dialog_response(GtkDialog *dialog, gint response, gpointer user_data)
if (close_window) gtk_widget_hide(widgets.replace_dialog);
break;
}
default:
geany_debug("Missing response in %s.", __func__);
// Note: we can get GTK_RESPONSE_DELETE_EVENT responses when ESC is pressed
}
g_free(find);
g_free(replace);