Revision: 3400 http://geany.svn.sourceforge.net/geany/?rev=3400&view=rev Author: eht16 Date: 2008-12-18 19:22:36 +0000 (Thu, 18 Dec 2008)
Log Message: ----------- Remove dead code.
Modified Paths: -------------- trunk/ChangeLog trunk/src/callbacks.c trunk/src/callbacks.h
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-12-18 17:46:41 UTC (rev 3399) +++ trunk/ChangeLog 2008-12-18 19:22:36 UTC (rev 3400) @@ -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>
Modified: trunk/src/callbacks.c =================================================================== --- trunk/src/callbacks.c 2008-12-18 17:46:41 UTC (rev 3399) +++ trunk/src/callbacks.c 2008-12-18 19:22:36 UTC (rev 3400) @@ -1237,27 +1237,6 @@
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) { GeanyDocument *doc = document_get_current();
Modified: trunk/src/callbacks.h =================================================================== --- trunk/src/callbacks.h 2008-12-18 17:46:41 UTC (rev 3399) +++ trunk/src/callbacks.h 2008-12-18 19:22:36 UTC (rev 3400) @@ -283,11 +283,6 @@ 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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.