Remove dead code.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3400 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2008-12-18 19:22:36 +00:00
parent a9c02f5cf1
commit 12846c0998
3 changed files with 2 additions and 26 deletions

View File

@ -4,6 +4,8 @@
Fix too ambitious auto tag closing in HTML files inside embedded
scripting languages.
Complete HTML styles in is_comment_style() and is_string_style().
* src/callbacks.c, src/callbacks.h:
Remove dead code.
2008-12-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>

View File

@ -1236,27 +1236,6 @@ on_go_to_line_activate (GtkMenuItem *menuitem,
}
void
on_goto_line_dialog_response (GtkDialog *dialog,
gint response,
gpointer user_data)
{
if (response == GTK_RESPONSE_ACCEPT)
{
GeanyDocument *doc = document_get_current();
if (doc != NULL)
{
gint line = gtk_spin_button_get_value_as_int(GTK_SPIN_BUTTON(user_data));
if (! editor_goto_line(doc->editor, line - 1))
utils_beep();
}
}
if (dialog != NULL)
gtk_widget_destroy(GTK_WIDGET(dialog));
}
void
on_toolbutton_goto_entry_activate(GtkAction *action, const gchar *text, gpointer user_data)
{

View File

@ -282,11 +282,6 @@ void
on_go_to_line_activate (GtkMenuItem *menuitem,
gpointer user_data);
void
on_goto_line_dialog_response (GtkDialog *dialog,
gint response,
gpointer user_data);
void
on_help1_activate (GtkMenuItem *menuitem,
gpointer user_data);