Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Thu, 26 Jun 2014 18:04:15 UTC Commit: cccc6ea0df885eefa07ba6ba99141e23574a1849 https://github.com/geany/geany/commit/cccc6ea0df885eefa07ba6ba99141e23574a18...
Log Message: ----------- Remove some dead code
Modified Paths: -------------- src/callbacks.c
Modified: src/callbacks.c 3 lines changed, 1 insertions(+), 2 deletions(-) =================================================================== @@ -164,10 +164,9 @@ G_MODULE_EXPORT void on_new1_activate(GtkMenuItem *menuitem, gpointer user_data)
G_MODULE_EXPORT void on_save1_activate(GtkMenuItem *menuitem, gpointer user_data) { - gint cur_page = gtk_notebook_get_current_page(GTK_NOTEBOOK(main_widgets.notebook)); GeanyDocument *doc = document_get_current();
- if (doc != NULL && cur_page >= 0) + if (doc != NULL) { document_save_file(doc, ui_prefs.allow_always_save); }
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).